|
My Project
|
Public Member Functions | |
| Interruptible_wait (THD *thd) | |
| void | set_timeout (ulonglong timeout) |
| int | wait (mysql_cond_t *, mysql_mutex_t *) |
Enables a session to wait on a condition until a timeout or a network disconnect occurs.
| void Interruptible_wait::set_timeout | ( | ulonglong | timeout | ) | [inline] |
Set the absolute timeout.
| timeout | The amount of time in nanoseconds to wait |
| int Interruptible_wait::wait | ( | mysql_cond_t * | cond, |
| mysql_mutex_t * | mutex | ||
| ) |
The timed wait.
Wait for a given condition to be signaled.
| cond | The condition variable to wait on. |
| mutex | The associated mutex. |
| return | value from mysql_cond_timedwait |
1.7.6.1