Gearmand documentation, http://gearman.info/
#include <libgearman/gearman.h>
gearman_return_t gearman_client_wait(gearman_client_st *client)
Link with -lgearman
Calling gearman_client_wait() causes the calling code to sleep until either the timeout in gearman_client_st is reached or gearmand responds to the client.
gearman_return_t
To find out more information please check: http://gearman.info/
Data Differential http://www.datadifferential.com/
2011-2013, Data Differential, http://www.datadifferential.com/