1GEARMAN_CLIENT_ADD_TASK_LOW(3) Gearmand GEARMAN_CLIENT_ADD_TASK_LOW(3)
2
3
4
6 gearman_client_add_task_low - Gearmand Documentation, http://gear‐
7 man.info/
8
10 #include <libgearman/gearman.h>
11
12 gearman_task_st *gearman_client_add_task(gearman_client_st *client,
13 gearman_task_st *task, void *context, const char *function_name, const
14 char *unique, const void *workload, size_t workload_size, gear‐
15 man_return_t *ret_ptr)
16
17 gearman_task_st *gearman_client_add_task_high(gear‐
18 man_client_st *client, gearman_task_st *task, void *context, const
19 char *function_name, const char *unique, const void *workload,
20 size_t workload_size, gearman_return_t *ret_ptr)
21
22 gearman_task_st *gearman_client_add_task_low(gearman_client_st *client,
23 gearman_task_st *task, void *context, const char *function_name, const
24 char *unique, const void *workload, size_t workload_size, gear‐
25 man_return_t *ret_ptr)
26
27 Link with -lgearman
28
30 gearman_client_add_task() creates a task and adds it to the given gear‐
31 man_client_st. Execution of the task does now begin until gear‐
32 man_client_run_tasks() is called.
33
34 If the unique value is not set, then a unique will be assigned.
35
36 gearman_client_add_task_high() and gearman_client_add_task_low() are
37 identical to gearman_client_do(), only they set the priority to either
38 high or low.
39
41 The gearman_task_st is created and a pointer to it is returned. On
42 error NULL is returned and ret_ptr is set with a gearman_return_t.
43
45 To find out more information please check: http://gearman.info/
46
47 SEE ALSO:
48 gearmand(8) libgearman(3)
49
51 Data Differential http://www.datadifferential.com/
52
54 2011-2014, Data Differential, http://www.datadifferential.com/
55
56
57
58
591.1.19.1 Feb 18, 2020 GEARMAN_CLIENT_ADD_TASK_LOW(3)