.\" Man page generated from reStructuredText. . .TH "GEARMAN_WORKER_ADD_OPTIONS" "3" "Mar 29, 2020" "1.1.19.1+ds" "Gearmand" .SH NAME gearman_worker_add_options \- Gearmand Documentation, http://gearman.info/ . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp #include .INDENT 0.0 .TP .B gearman_worker_options_t .UNINDENT .INDENT 0.0 .TP .B \fI\%gearman_worker_options_t\fP gearman_worker_options(const gearman_worker_st\fI\ *worker\fP) .UNINDENT .INDENT 0.0 .TP .B void gearman_worker_add_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP) .UNINDENT .INDENT 0.0 .TP .B void gearman_worker_remove_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP) .UNINDENT .INDENT 0.0 .TP .B void gearman_worker_set_options(gearman_worker_st\fI\ *worker\fP, \fI\%gearman_worker_options_t\fP\fI\ options\fP) .UNINDENT .sp Deprecated since version 0.21. .SH DESCRIPTION .sp \fI\%gearman_worker_options()\fP returns the \fI\%gearman_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\&. .sp The currently supported options are: .sp Enable non\-block IO for the worker. .INDENT 0.0 .TP .B GEARMAN_WORKER_GRAB_UNIQ .UNINDENT .sp Only grab jobs that have been assigned unique values. This is useful for workers who only want to worker with background jobs. .INDENT 0.0 .TP .B GEARMAN_WORKER_TIMEOUT_RETURN .UNINDENT .sp Has a return timeout been set for the worker. .SH RETURN VALUE .sp Various .SH HOME .sp To find out more information please check: \fI\%http://gearman.info/\fP .sp \fBSEE ALSO:\fP .INDENT 0.0 .INDENT 3.5 \fBgearmand(8)\fP \fBlibgearman(3)\fP .UNINDENT .UNINDENT .SH AUTHOR Data Differential http://www.datadifferential.com/ .SH COPYRIGHT 2011-2020, Data Differential, http://www.datadifferential.com/ .\" Generated by docutils manpage writer. .