GEARMAN_WORKER_REMOVE_OPTIONS(3)

πŸ’– NAME πŸ’–

bestie. gather round. this is gearman_worker_remove_options β€” one of the Gearmand pages from http://gearman.info/ ✨ it's the whole little family of worker-option functions, and yes the title one is in there too πŸŽ€


🌸 SYNOPSIS 🌸

okay so first you gotta pull in the header, no cap:

#include <libgearman/gearman.h>

then the type:

type gearman_worker_options_t

and here's the full squad of functions, fr fr:

gearman_worker_options_t gearman_worker_options(const gearman_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. 🚨 bestie it's giving "old and retired", so heads up before you build anything new on it πŸ’€

✨ DESCRIPTION ✨

so gearman_worker_options() hands you back the gearman_worker_options_t for a gearman_worker_st. that's the vibe check on what options are currently on 🫢

want to turn stuff on? that's gearman_worker_add_options(). want to turn stuff off? that's gearman_worker_remove_options() β€” the icon herself, the one this whole page is named after πŸ‘‘

the options that are currently supported are, and I'm quoting the source here, literally the whole list:

  • Enable non-block IO for the worker. β€” that's it, that's the description. this one doesn't get a name typed out in the original text, it just shows up as a lone description line. iconic behaviour honestly πŸ™ˆ
  • type GEARMAN_WORKER_GRAB_UNIQ β€” only grab jobs that have been assigned unique values πŸ’… super useful for workers who only want to worker with background jobs πŸ¦‹ (yes, "worker with", that's what it says, I'm not touching it)
  • type GEARMAN_WORKER_TIMEOUT_RETURN β€” has a return timeout been set for the worker? that's the whole question, bestie ⏰

⭐ RETURN VALUE ⭐

Various. that's the entire answer, no further comment, slay I guess πŸ’…


🌈 HOME 🌈

want more info? pull up: http://gearman.info/

See also:


πŸ‘‘ Author πŸ‘‘

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


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


and that's a wrap babes πŸ’– this page came to you from version 1.1.21+ds dated Feb 04, 2026 β€” go forth, remove those options, main character energy only ✨🌸🫢

πŸ“¦ where this page comes from