1GEARMAN_CLIENT_ADD_TASK_STATUS(3) Gearmand GEARMAN_CLIENT_ADD_TASK_STATUS(3)
2
3
4
6 gearman_client_add_task_status - Gearmand Documentation, http://gear‐
7 man.info/
8
10 #include <libgearman/gearman.h>
11
12 gearman_task_st *gearman_client_add_task_status(gear‐
13 man_client_st *client, gearman_task_st *task, void *context, const
14 char *job_handle, gearman_return_t *ret_ptr)
15
16 Link with -lgearman
17
19 gearman_client_add_task_status() creates a gearman_task_st that can be
20 used to monitor a previously created task.
21
22 WARNING:
23 You may wish to avoid using gearman_client_add_task() with a stack
24 based allocated gearman_task_st. The most common issues related to
25 ABI safety involve stack allocated structures. If you use a stack
26 based gearman_task_st you must free it with gearman_task_free().
27
29 The gearman_task_st is created and a pointer to it is returned. On
30 error NULL is returned and ret_ptr is set with a gearman_return_t.
31
33 To find out more information please check: http://gearman.info/
34
35 SEE ALSO:
36 gearmand(8) libgearman(3) gearman_task_st(3)
37
39 Data Differential http://www.datadifferential.com/
40
42 2011-2014, Data Differential, http://www.datadifferential.com/
43
44
45
46
471.1.19.1 Feb 18, 2020GEARMAN_CLIENT_ADD_TASK_STATUS(3)