logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gearman_worker_options - Gearmand Documentation, http://gearman.info/

Author

Description

gearman_worker_options()  returns  the gearman_worker_options_t for gearman_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.

       typeGEARMAN_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.

       typeGEARMAN_WORKER_TIMEOUT_RETURN

       Has a return timeout been set for the worker.

Home

       To find out more information please check: http://gearman.info/SEEALSO:gearmand(8)libgearman(3)

Name

       gearman_worker_options - Gearmand Documentation, http://gearman.info/

Return Value

       Various

Synopsis

       #include <libgearman/gearman.h>

       typegearman_worker_options_tgearman_worker_options_tgearman_worker_options(constgearman_worker_st*worker)voidgearman_worker_add_options(gearman_worker_st*worker,gearman_worker_options_toptions)voidgearman_worker_remove_options(gearman_worker_st*worker,gearman_worker_options_toptions)voidgearman_worker_set_options(gearman_worker_st*worker,gearman_worker_options_toptions)

       Deprecated since version 0.21.

See Also