1
.TH "GEARMAN_CLIENT_ADD_TASK_HIGH" "3" "December 15, 2011" "0.26" "Gearmand"
3
gearman_client_add_task_high \- 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(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)
44
\fI\%gearman_client_add_task()\fP creates a task and adds it to the given \fBgearman_client_st\fP. Execution of the task does now begin until \fBgearman_client_run_tasks()\fP is called.
46
If the unique value is not set, then a unique will be assigned.
48
\fBgearman_client_add_task_high()\fP and \fBgearman_client_add_task_low()\fP are
49
identical to \fBgearman_client_do()\fP, only they set the priority to
53
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.
56
To find out more information please check:
57
\fI\%http://gearman.info/\fP
60
\fIgearmand(8)\fP \fIlibgearman(3)\fP
63
Data Differential http://datadifferential.com/
65
2011, Data Differential, http://datadifferential.com/
66
.\" Generated by docutils manpage writer.