DOKK / manpages / debian 10 / libgearman-dev / gearman_worker_set_options.3.en
GEARMAN_WORKER_SET_OPTIONS(3) Gearmand GEARMAN_WORKER_SET_OPTIONS(3)

gearman_worker_set_options - Gearmand Documentation, http://gearman.info/

#include <libgearman/gearman.h>


gearman_worker_options_t gearman_worker_options(const gearman_worker_st *worker)




Deprecated since version 0.21.

gearman_worker_options() returns the gearman_worker_options_t for gearman_worker_st. You enable options via gearman_worker_add_options() and disable options via gearman_worker_remove_options().

The currently supported options are:

Enable non-block IO for the worker.


Only grab jobs that have been assigned unique values. This is useful for workers who only want to worker with background jobs.


Has a return timeout been set for the worker.

Various

To find out more information please check: http://gearman.info/

SEE ALSO:


Data Differential http://www.datadifferential.com/

2011-2019, Data Differential, http://www.datadifferential.com/

January 29, 2019 1.1.18+ds