NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | ptw32_mcs_node_t_ |
Typedefs | |
typedef struct ptw32_mcs_node_t_ | ptw32_mcs_local_node_t |
typedef struct ptw32_mcs_node_t_ * | ptw32_mcs_lock_t |
Functions | |
static void | ptw32_mcs_flag_set (PVOID volatile *flag) |
static void | ptw32_mcs_flag_wait (PVOID volatile *flag) |
static void | ptw32_mcs_lock_acquire (ptw32_mcs_lock_t *lock, ptw32_mcs_local_node_t *node) |
static void | ptw32_mcs_lock_release (ptw32_mcs_local_node_t *node) |
typedef struct ptw32_mcs_node_t_ ptw32_mcs_local_node_t |
Definition at line 1 of file ptw32_MCS_lock.c.
typedef struct ptw32_mcs_node_t_* ptw32_mcs_lock_t |
Definition at line 106 of file ptw32_MCS_lock.c.
|
inlinestatic |
Definition at line 115 of file ptw32_MCS_lock.c.
References HANDLE.
Referenced by ptw32_mcs_lock_acquire(), and ptw32_mcs_lock_release().
|
inlinestatic |
Definition at line 132 of file ptw32_MCS_lock.c.
References FALSE, HANDLE, and NULL.
Referenced by ptw32_mcs_lock_acquire(), and ptw32_mcs_lock_release().
|
inlinestatic |
Definition at line 155 of file ptw32_MCS_lock.c.
References ptw32_mcs_node_t_::lock, ptw32_mcs_node_t_::next, ptw32_mcs_node_t_::nextFlag, ptw32_mcs_flag_set(), ptw32_mcs_flag_wait(), and ptw32_mcs_node_t_::readyFlag.
|
inlinestatic |
Definition at line 184 of file ptw32_MCS_lock.c.
References ptw32_mcs_node_t_::lock, next(), ptw32_mcs_node_t_::next, ptw32_mcs_node_t_::nextFlag, ptw32_mcs_flag_set(), and ptw32_mcs_flag_wait().