HPCToolkit
|
Go to the source code of this file.
Classes | |
struct | mcs_node_s |
struct | mcs_lock_t |
Macros | |
#define | mcs_nil (struct mcs_node_s*) 0 |
Typedefs | |
typedef struct mcs_node_s | mcs_node_t |
Functions | |
static void | mcs_init (mcs_lock_t *l) |
void | mcs_lock (mcs_lock_t *l, mcs_node_t *me) |
bool | mcs_trylock (mcs_lock_t *l, mcs_node_t *me) |
void | mcs_unlock (mcs_lock_t *l, mcs_node_t *me) |
#define mcs_nil (struct mcs_node_s*) 0 |
Definition at line 93 of file mcs-lock.h.
typedef struct mcs_node_s mcs_node_t |
|
inlinestatic |
Definition at line 100 of file mcs-lock.h.
void mcs_lock | ( | mcs_lock_t * | l, |
mcs_node_t * | me | ||
) |
bool mcs_trylock | ( | mcs_lock_t * | l, |
mcs_node_t * | me | ||
) |
void mcs_unlock | ( | mcs_lock_t * | l, |
mcs_node_t * | me | ||
) |