Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GEARMAN_WORKER_ADD_OPTIONS(3)	   Gearmand	 GEARMAN_WORKER_ADD_OPTIONS(3)

NAME
       gearman_worker_add_options   -	Gearmand  Documentation,  http://gear-
       man.info/

SYNOPSIS
       #include	<libgearman/gearman.h>

       gearman_worker_options_t

       gearman_worker_options_t	      gearman_worker_options(const	 gear-
       man_worker_st *worker)

       void		 gearman_worker_add_options(gearman_worker_st *worker,
       gearman_worker_options_t	options)

       void	      gearman_worker_remove_options(gearman_worker_st *worker,
       gearman_worker_options_t	options)

       void		 gearman_worker_set_options(gearman_worker_st *worker,
       gearman_worker_options_t	options)

       Deprecated since	version	0.21.

DESCRIPTION
       gearman_worker_options()	returns	the gearman_worker_options_t for gear-
       man_worker_st.  You enable options via gearman_worker_add_options() and
       disable options via gearman_worker_remove_options().

       The currently supported options are:

       Enable non-block	IO for the worker.

       GEARMAN_WORKER_GRAB_UNIQ

       Only grab jobs that have	been assigned unique values.  This  is	useful
       for workers who only want to worker with	background jobs.

       GEARMAN_WORKER_TIMEOUT_RETURN

       Has a return timeout been set for the worker.

RETURN VALUE
       Various

HOME
       To find out more	information please check: http://gearman.info/

	  See also

		 gearmand(8) libgearman(3)

AUTHOR
       Data Differential http://www.datadifferential.com/

COPYRIGHT
       2011-2013, Data Differential, http://www.datadifferential.com/

1.1.8				 June 06, 2013	 GEARMAN_WORKER_ADD_OPTIONS(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | HOME | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gearman_worker_add_options&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help