#include <smx_synchro_private.h>
◆ MutexImpl() [1/2]
simgrid::simix::MutexImpl::MutexImpl |
( |
| ) |
|
◆ ~MutexImpl()
simgrid::simix::MutexImpl::~MutexImpl |
( |
| ) |
|
◆ MutexImpl() [2/2]
simgrid::simix::MutexImpl::MutexImpl |
( |
MutexImpl const & |
| ) |
|
|
delete |
◆ operator=()
◆ lock()
◆ try_lock()
bool simgrid::simix::MutexImpl::try_lock |
( |
smx_actor_t |
issuer | ) |
|
Tries to lock the mutex for a process.
- Parameters
-
issuer | the process that tries to acquire the mutex |
- Returns
- whether we managed to lock the mutex
◆ unlock()
Unlock a mutex for a process.
Unlocks the mutex and gives it to a process waiting for it. If the unlocker is not the owner of the mutex nothing happens. If there are no process waiting, it sets the mutex as free.
◆ mutex()
◆ intrusive_ptr_add_ref
◆ intrusive_ptr_release
◆ locked
bool simgrid::simix::MutexImpl::locked = false |
◆ owner
◆ sleeping
xbt_swag_t simgrid::simix::MutexImpl::sleeping = nullptr |
The documentation for this class was generated from the following files: