1
.TH "GEARMAN_CLIENT_ADD_TASK_LOW_BACKGROUND" "3" "September 14, 2012" "0.38" "Gearmand"
3
gearman_client_add_task_low_background \- Gearmand Documentation, http://gearman.info/
5
.nr rst2man-indent-level 0
9
level \\n[rst2man-indent-level]
10
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17
.\" .rstReportMargin pre:
19
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
. nr rst2man-indent-level +1
21
.\" .rstReportMargin post:
25
.\" indent \\n[an-margin]
26
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27
.nr rst2man-indent-level -1
28
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31
.\" Man page generated from reStructeredText.
35
#include <libgearman/gearman.h>
38
.B gearman_task_st *gearman_client_add_task_background(gearman_client_st\fI\ *client\fP, gearman_task_st\fI\ *task\fP, void\fI\ *context\fP, const char\fI\ *function_name\fP, const char\fI\ *unique\fP, const void\fI\ *workload\fP, size_t\fI\ workload_size\fP, gearman_return_t\fI\ *ret_ptr\fP)
42
.B gearman_task_st *gearman_client_add_task_high_background(gearman_client_st\fI\ *client\fP, gearman_task_st\fI\ *task\fP, void\fI\ *context\fP, const char\fI\ *function_name\fP, const char\fI\ *unique\fP, const void\fI\ *workload\fP, size_t\fI\ workload_size\fP, gearman_return_t\fI\ *ret_ptr\fP)
46
.B gearman_task_st *gearman_client_add_task_low_background(gearman_client_st\fI\ *client\fP, gearman_task_st\fI\ *task\fP, void\fI\ *context\fP, const char\fI\ *function_name\fP, const char\fI\ *unique\fP, const void\fI\ *workload\fP, size_t\fI\ workload_size\fP, gearman_return_t\fI\ *ret_ptr\fP)
52
\fI\%gearman_client_add_task_background()\fP creates a background task and adds it ito the given \fBgearman_client_st\fP. Execution of the task does now begin until \fBgearman_client_run_tasks()\fP is called.
54
If the unique value is not set, then a unique will be assigned.
56
\fI\%gearman_client_add_task_high_background()\fP and \fI\%gearman_client_add_task_low_background()\fP are
57
identical to \fBgearman_client_do()\fP, only they set the priority to
60
You may wish to avoid using \fI\%gearman_client_add_task_background()\fP with a stack based allocated
61
\fBgearman_task_st\fP. The most common issues related to ABI safety involve stack allocated structures. If you use a stack based
62
\fBgearman_task_st\fP you must free it with \fBgearman_task_free()\fP.
66
The \fBgearman_task_st\fP is created and a pointer to it is returned. On error NULL is returned and ret_ptr is set with a \fBgearman_return_t\fP.
69
To find out more information please check:
70
\fI\%http://gearman.info/\fP
74
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_task_st\fP
76
Data Differential http://www.datadifferential.com/
78
2012, Data Differential, http://www.datadifferential.com/
79
.\" Generated by docutils manpage writer.