~clint-fewbar/ubuntu/precise/gearmand/drop-unneeded-patches

« back to all changes in this revision

Viewing changes to docs/man/gearman_worker_add_options.3

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2009-08-11 10:06:22 UTC
  • mto: (1.2.3 upstream) (6.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20090811100622-6ig4iknanc73olum
ImportĀ upstreamĀ versionĀ 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_WORKER_ADD_OPTIONS" "3" "December 15, 2011" "0.26" "Gearmand"
2
 
.SH NAME
3
 
gearman_worker_add_options \- Gearmand Documentation, http://gearman.info/
4
 
.
5
 
.nr rst2man-indent-level 0
6
 
.
7
 
.de1 rstReportMargin
8
 
\\$1 \\n[an-margin]
9
 
level \\n[rst2man-indent-level]
10
 
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11
 
-
12
 
\\n[rst2man-indent0]
13
 
\\n[rst2man-indent1]
14
 
\\n[rst2man-indent2]
15
 
..
16
 
.de1 INDENT
17
 
.\" .rstReportMargin pre:
18
 
. RS \\$1
19
 
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20
 
. nr rst2man-indent-level +1
21
 
.\" .rstReportMargin post:
22
 
..
23
 
.de UNINDENT
24
 
. RE
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
30
 
..
31
 
.\" Man page generated from reStructeredText.
32
 
.
33
 
.SH SYNOPSIS
34
 
.sp
35
 
#include <libgearman/gearman.h>
36
 
.INDENT 0.0
37
 
.TP
38
 
.B gearman_worker_options_t gearman_worker_options(const gearman_worker_st\fI\ *worker\fP)
39
 
.UNINDENT
40
 
.INDENT 0.0
41
 
.TP
42
 
.B void gearman_worker_add_options(gearman_worker_st\fI\ *worker\fP, gearman_worker_options_t\fI\ options\fP)
43
 
.UNINDENT
44
 
.INDENT 0.0
45
 
.TP
46
 
.B void gearman_worker_remove_options(gearman_worker_st\fI\ *worker\fP, gearman_worker_options_t\fI\ options\fP)
47
 
.UNINDENT
48
 
.INDENT 0.0
49
 
.TP
50
 
.B void gearman_worker_set_options(gearman_worker_st\fI\ *worker\fP, gearman_worker_options_t\fI\ options\fP)
51
 
.UNINDENT
52
 
.sp
53
 
Deprecated since version 0.21.
54
 
.SH DESCRIPTION
55
 
.sp
56
 
\fI\%gearman_worker_options()\fP returns the \fBgearman_worker_options_t\fP for \fBgearman_worker_st\fP. You enable options via \fI\%gearman_worker_add_options()\fP and disable options via \fI\%gearman_worker_remove_options()\fP.
57
 
.sp
58
 
The currently supported options are:
59
 
.sp
60
 
Enable non\-block IO for the worker.
61
 
.INDENT 0.0
62
 
.TP
63
 
.B GEARMAN_WORKER_GRAB_UNIQ
64
 
.UNINDENT
65
 
.sp
66
 
Only grab jobs that have been assigned unique values. This is useful for workers who only want to worker with background jobs.
67
 
.INDENT 0.0
68
 
.TP
69
 
.B GEARMAN_WORKER_TIMEOUT_RETURN
70
 
.UNINDENT
71
 
.sp
72
 
Has a return timeout been set for the worker.
73
 
.SH RETURN VALUE
74
 
.sp
75
 
Various
76
 
.SH HOME
77
 
.sp
78
 
To find out more information please check:
79
 
\fI\%http://gearman.info/\fP
80
 
.IP "See also"
81
 
.sp
82
 
\fIgearmand(8)\fP \fIlibgearman(3)\fP
83
 
.RE
84
 
.SH AUTHOR
85
 
Data Differential http://datadifferential.com/
86
 
.SH COPYRIGHT
87
 
2011, Data Differential, http://datadifferential.com/
88
 
.\" Generated by docutils manpage writer.
89
 
.\" 
90
 
.