NCBI C++ ToolKit
Classes | Typedefs | Functions
ptw32_MCS_lock.c File Reference

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 Documentation

◆ ptw32_mcs_local_node_t

Definition at line 1 of file ptw32_MCS_lock.c.

◆ ptw32_mcs_lock_t

Definition at line 106 of file ptw32_MCS_lock.c.

Function Documentation

◆ ptw32_mcs_flag_set()

static void ptw32_mcs_flag_set ( PVOID volatile *  flag)
inlinestatic

Definition at line 115 of file ptw32_MCS_lock.c.

References HANDLE.

Referenced by ptw32_mcs_lock_acquire(), and ptw32_mcs_lock_release().

◆ ptw32_mcs_flag_wait()

static void ptw32_mcs_flag_wait ( PVOID volatile *  flag)
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().

◆ ptw32_mcs_lock_acquire()

static void ptw32_mcs_lock_acquire ( ptw32_mcs_lock_t lock,
ptw32_mcs_local_node_t node 
)
inlinestatic

◆ ptw32_mcs_lock_release()

static void ptw32_mcs_lock_release ( ptw32_mcs_local_node_t node)
inlinestatic
Modified on Fri Sep 20 14:57:57 2024 by modify_doxy.py rev. 669887