SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include "xbt/ex.hpp"
#include "msg_private.hpp"
#include "src/simix/smx_private.hpp"
#include "xbt/synchro.h"
Classes | |
struct | s_msg_bar_t |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (msg_synchro, msg, "Logging specific to MSG (synchro)") | |
msg_sem_t | MSG_sem_init (int initial_value) |
creates a semaphore object of the given initial capacity More... | |
void | MSG_sem_acquire (msg_sem_t sem) |
locks on a semaphore object More... | |
msg_error_t | MSG_sem_acquire_timeout (msg_sem_t sem, double timeout) |
locks on a semaphore object up until the provided timeout expires More... | |
void | MSG_sem_release (msg_sem_t sem) |
releases the semaphore object More... | |
int | MSG_sem_get_capacity (msg_sem_t sem) |
void | MSG_sem_destroy (msg_sem_t sem) |
int | MSG_sem_would_block (msg_sem_t sem) |
returns a boolean indicating if this semaphore would block at this very specific time More... | |
msg_bar_t | MSG_barrier_init (unsigned int count) |
Initializes a barrier, with count elements. More... | |
void | MSG_barrier_destroy (msg_bar_t bar) |
Initializes a barrier, with count elements. More... | |
int | MSG_barrier_wait (msg_bar_t bar) |
Performs a barrier already initialized. More... | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | msg_synchro | , |
msg | , | ||
"Logging specific to MSG (synchro)" | |||
) |