MySQL 5.6.14 Source Code Document
|
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.
Definition at line 4149 of file item_func.cc.
|
inline |
Set the absolute timeout.
timeout | The amount of time in nanoseconds to wait |
Definition at line 4167 of file item_func.cc.
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 |
Definition at line 4198 of file item_func.cc.