GEARMAN_CLIENT_OPTIONS(3)
π GEARMAN_CLIENT_OPTIONS π
okay bestie, gathering around for GEARMAN_CLIENT_OPTIONS(3), part of the Gearmand docs over at <http://gearman.info/> β this is the one that tells you how to flip all the lil switches on your Gearman client. it's giving "control panel energy" and we are OBSESSED. let's get into it π«Ά
β¨ NAME β¨
gearman_client_options β literally the Gearmand Documentation, <http://gearman.info/>, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <libgearman/gearman.h>
type gearman_client_options_t
gearman_client_options_t gearman_client_options(const gearman_client_st
<#c.gearman_client_st> *client)
void gearman_client_set_options(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t options)
void gearman_client_add_options(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t options)
void gearman_client_remove_options(gearman_client_st <#c
.gearman_client_st> *client, gearman_client_options_t options)
bool gearman_client_has_option(gearman_client_st <#c.gearman_client_st>
*client, gearman_client_options_t option)
and when you link it, it's Link with -lgearman β don't forget it or the linker will simply perish π
π DESCRIPTION π
so gearman_client_options() hands you back the gearman_client_options_t for a gearman_client_st. turning stuff on is gearman_client_add_options(), and turning stuff off is gearman_client_remove_options(). that's the whole bit, no cap π₯
real talk though: gearman_client_set_options() has been DEPRECATED. she's retired, bestie. please don't build new things on her. π
here are the options that are currently supported, like, right now:
GEARMAN_CLIENT_NON_BLOCKINGβ this is atype, and it makes the client run in non-blocking mode. run the client in a non-blocking mode, no waiting around, main character energy π¦GEARMAN_CLIENT_FREE_TASKSβ this is atypetoo. it automatically frees task objects once they're done β literally auto-cleanup, slay β¨GEARMAN_CLIENT_UNBUFFERED_RESULTβ also atype. lets the client read its data in chunks instead of the library buffering the ENTIRE data result and handing the whole thing back to you at once. snack-sized instead of family-sized πGEARMAN_CLIENT_GENERATE_UNIQUEβ yep, atype. generates a unique id for every task the client creates, by generating a UUID. iconic π
β RETURN VALUE β
Various. that's it. that's the answer. π
π 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-2014, Data Differential, <http://www.datadifferential.com/>
and that's a wrap, bestie π§ this was manual page GEARMAN_CLIENT_OPTIONS(3), version 1.1.21+ds, dated Feb 04, 2026 β all brought to you by the good people at Gearmand. go forth and configure your options, ily, periodt πβ¨πΈ
π¦ 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