1GEARMAN_CLIENT_ADD_TASK_LOW(3)     Gearmand     GEARMAN_CLIENT_ADD_TASK_LOW(3)
2
3
4

NAME

6       gearman_client_add_task_low   -  Gearmand  Documentation,  http://gear
7       man.info/
8

SYNOPSIS

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,  gearman_re‐
15       turn_t *ret_ptr)
16
17       gearman_task_st         *gearman_client_add_task_high(gearman_client_st
18       *client,  gearman_task_st  *task,  void  *context,  const  char  *func‐
19       tion_name,  const  char  *unique,  const  void  *workload, size_t work‐
20       load_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,  gearman_re‐
25       turn_t *ret_ptr)
26
27       Link with -lgearman
28

DESCRIPTION

30       gearman_client_add_task() creates a task and adds it to the given gear‐
31       man_client_st. Execution  of  the  task  does  not  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

RETURN VALUE

41       The  gearman_task_st is created and a pointer to it is returned. On er‐
42       ror NULL is returned and ret_ptr is set with a gearman_return_t.
43

HOME

45       To find out more information please check: http://gearman.info/
46
47       SEE ALSO:
48          gearmand(8) libgearman(3)
49

AUTHOR

51       Data Differential http://www.datadifferential.com/
52
54       2011-2014, Data Differential, http://www.datadifferential.com/
55
56
57
58
591.1.20                           Nov 19, 2022   GEARMAN_CLIENT_ADD_TASK_LOW(3)
Impressum