GEARMAN_WORKER_OPTIONS(3)
π NAME π
gearman_worker_options β Gearmand Documentation, http://gearman.info/
β¨ SYNOPSIS β¨
#include <libgearman/gearman.h>
type gearman_worker_options_t
gearman_worker_options_t gearman_worker_options(const gearman_worker_st <#c.gearman_worker_st> *worker)
void gearman_worker_add_options(gearman_worker_st <#c.gearman_worker_st> *worker, gearman_worker_options_t options)
void gearman_worker_remove_options(gearman_worker_st <#c.gearman_worker_st> *worker, gearman_worker_options_t options)
void gearman_worker_set_options(gearman_worker_st <#c.gearman_worker_st> *worker, gearman_worker_options_t options)
π¨ Deprecated since version 0.21. she's vintage, bestie β still here, still documented, but the docs literally said deprecated so I'm just passing the message along, no editorialising π
π DESCRIPTION π
okay so. gearman_worker_options() returns the gearman_worker_options_t for a gearman_worker_st. think of it as your worker's lil settings panel π
you flip options on with gearman_worker_add_options(), and you flip options off with gearman_worker_remove_options().
the currently supported options π
- Enable non-block IO for the worker.</p> β fr fr, that is the entire description she came with. no macro name attached, no extra deets, nothing. so I'm handing it to you exactly the way the doc handed it to me. non-block IO for the worker, that's the vibe π«Ά
type GEARMAN_WORKER_GRAB_UNIQβ only grab jobs that have been assigned unique values. this is the one for workers who only wanna work with background jobs. background-jobs-only girlies, this is your moment πtype GEARMAN_WORKER_TIMEOUT_RETURNβ has a return timeout been set for the worker. that's the question, and that's the whole note. yes she's brief, she's iconic like that β¨
π¦ RETURN VALUE π¦
Various.
that's it. that's the whole section. the docs simply said "Various" and honestly? respect the confidence. π
π HOME π
to find out more information please check: http://gearman.info/
see also π
βοΈ Author βοΈ
Data Differential β http://www.datadifferential.com/
Β©οΈ Copyright Β©οΈ
2011-2014, Data Differential, http://www.datadifferential.com/
and that's the page bestie π this was GEARMAN_WORKER_OPTIONS(3) from the Gearmand manual, version 1.1.21+ds, dated Feb 04, 2026. go add some options to your worker, you got this πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms