Drizzled Public API Documentation

sync_cell_struct Struct Reference

List of all members.

Public Attributes

void * wait_object
mutex_told_wait_mutex
rw_lock_told_wait_rw_lock
ulint request_type
const char * file
ulint line
os_thread_id_t thread
ibool waiting
ib_int64_t signal_count
time_t reservation_time

Detailed Description

A cell where an individual thread may wait suspended until a resource is released. The suspending is implemented using an operating system event semaphore.

Definition at line 80 of file sync0arr.cc.


Member Data Documentation

in debug version file where requested

Definition at line 90 of file sync0arr.cc.

Referenced by sync_array_reserve_cell().

in debug version line where requested

Definition at line 92 of file sync0arr.cc.

Referenced by sync_array_reserve_cell().

the latest wait mutex in cell

Definition at line 84 of file sync0arr.cc.

Referenced by sync_array_reserve_cell().

the latest wait rw-lock in cell

Definition at line 86 of file sync0arr.cc.

Referenced by sync_array_reserve_cell().

lock type requested on the object

Definition at line 88 of file sync0arr.cc.

Referenced by sync_array_reserve_cell().

time when the thread reserved the wait cell

Definition at line 107 of file sync0arr.cc.

Referenced by sync_array_print_long_waits(), and sync_array_reserve_cell().

We capture the signal_count of the wait_object when we reset the event. This value is then passed on to os_event_wait and we wait only if the event has not been signalled in the period between the reset and wait call.

Definition at line 99 of file sync0arr.cc.

Referenced by sync_array_free_cell(), sync_array_reserve_cell(), and sync_array_wait_event().

thread id of this waiting thread

Definition at line 94 of file sync0arr.cc.

Referenced by sync_array_reserve_cell(), and sync_array_wait_event().

pointer to the object the thread is waiting for; if NULL the cell is free for use

Definition at line 81 of file sync0arr.cc.

Referenced by sync_arr_wake_threads_if_sema_free(), sync_array_free_cell(), sync_array_print_long_waits(), sync_array_reserve_cell(), sync_array_validate(), and sync_array_wait_event().

TRUE if the thread has already called sync_array_event_wait on this cell

Definition at line 96 of file sync0arr.cc.

Referenced by sync_array_free_cell(), sync_array_print_long_waits(), sync_array_reserve_cell(), and sync_array_wait_event().


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