Drizzled Public API Documentation

os_mutex_struct Struct Reference

Public Member Functions

 UT_LIST_NODE_T (os_mutex_str_t) os_mutex_list
 

Public Attributes

os_event_t event
 
void * handle
 
ulint count
 

Detailed Description

Definition at line 45 of file os0sync.cc.

Member Data Documentation

ulint os_mutex_struct::count

we use this counter to check that the same thread does not recursively lock the mutex: we do not assume that the OS mutex supports recursive locking, though NT seems to do that

Definition at line 48 of file os0sync.cc.

Referenced by os_mutex_create(), os_mutex_enter(), and os_mutex_exit().

os_event_t os_mutex_struct::event

Used by sync0arr.c for queing threads

Definition at line 46 of file os0sync.cc.

Referenced by os_event_create(), os_mutex_create(), os_mutex_free(), and os_sync_free().

void* os_mutex_struct::handle

OS handle to mutex

Definition at line 47 of file os0sync.cc.

Referenced by os_mutex_create(), os_mutex_enter(), os_mutex_exit(), and os_mutex_free().


The documentation for this struct was generated from the following file: