Detailed Description
Thread handling for gearmand.
Function Documentation
Create a new gearmand thread.
- Parameters:
-
gearmand | Server instance structure previously initialized with gearmand_create. |
- Returns:
- Standard gearman return value.
Free resources used by a thread.
- Parameters:
-
thread | Thread previously initialized with gearmand_thread_create. |
Interrupt a running gearmand thread.
- Parameters:
-
thread | Thread structure previously initialized with gearmand_thread_create. |
wakeup | Wakeup event to send to running thread. |
Run the thread when there are events ready.
- Parameters:
-
thread | Thread structure previously initialized with gearmand_thread_create. |