|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
Functions | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_sync, xbt, "Synchronization mechanism") | |
| xbt_mutex_t | xbt_mutex_init (void) |
| Creates a new mutex variable. More... | |
| void | xbt_mutex_acquire (xbt_mutex_t mutex) |
| Blocks onto the given mutex variable. More... | |
| int | xbt_mutex_try_acquire (xbt_mutex_t mutex) |
| Tries to block onto the given mutex variable Tries to lock a mutex, return 1 if the mutex is unlocked, else 0. More... | |
| void | xbt_mutex_release (xbt_mutex_t mutex) |
| Releases the given mutex variable. More... | |
| void | xbt_mutex_destroy (xbt_mutex_t mutex) |
| Destroyes the given mutex variable. More... | |
| xbt_cond_t | xbt_cond_init (void) |
| Creates a condition variable. More... | |
| void | xbt_cond_wait (xbt_cond_t cond, xbt_mutex_t mutex) |
| Blocks onto the given condition variable. More... | |
| void | xbt_cond_timedwait (xbt_cond_t cond, xbt_mutex_t mutex, double delay) |
| Blocks onto the given condition variable, but only for the given amount of time. More... | |
| void | xbt_cond_signal (xbt_cond_t cond) |
| Signals the given mutex variable. More... | |
| void | xbt_cond_broadcast (xbt_cond_t cond) |
| Broadcasts the given mutex variable. More... | |
| void | xbt_cond_destroy (xbt_cond_t cond) |
| Destroys the given mutex variable. More... | |
| XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | xbt_sync | , |
| xbt | , | ||
| "Synchronization mechanism" | |||
| ) |