1GEARMAN_WORKER_SET_OPTIONS(3) Gearmand GEARMAN_WORKER_SET_OPTIONS(3)
2
3
4
6 gearman_worker_set_options - Gearmand Documentation, http://gear‐
7 man.info/
8
10 #include <libgearman/gearman.h>
11
12 type gearman_worker_options_t
13
14 gearman_worker_options_t gearman_worker_options(const gearman_worker_st
15 *worker)
16
17 void gearman_worker_add_options(gearman_worker_st *worker,
18 gearman_worker_options_t options)
19
20 void gearman_worker_remove_options(gearman_worker_st *worker,
21 gearman_worker_options_t options)
22
23 void gearman_worker_set_options(gearman_worker_st *worker,
24 gearman_worker_options_t options)
25
26 Deprecated since version 0.21.
27
28
30 gearman_worker_options() returns the gearman_worker_options_t for gear‐
31 man_worker_st. You enable options via gearman_worker_add_options() and
32 disable options via gearman_worker_remove_options().
33
34 The currently supported options are:
35
36 Enable non-block IO for the worker.
37
38 type GEARMAN_WORKER_GRAB_UNIQ
39
40 Only grab jobs that have been assigned unique values. This is useful
41 for workers who only want to worker with background jobs.
42
43 type GEARMAN_WORKER_TIMEOUT_RETURN
44
45 Has a return timeout been set for the worker.
46
48 Various
49
51 To find out more information please check: http://gearman.info/
52
53 SEE ALSO:
54 gearmand(8) libgearman(3)
55
57 Data Differential http://www.datadifferential.com/
58
60 2011-2014, Data Differential, http://www.datadifferential.com/
61
62
63
64
651.1.20 Nov 19, 2022 GEARMAN_WORKER_SET_OPTIONS(3)