drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
os_mutex_struct Struct Reference
Collaboration diagram for os_mutex_struct:
[legend]

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

◆ count

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.

◆ event

os_event_t os_mutex_struct::event

Used by sync0arr.c for queing threads

Definition at line 46 of file os0sync.cc.

◆ handle

void* os_mutex_struct::handle

OS handle to mutex

Definition at line 47 of file os0sync.cc.


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