GEARMAN_TASK_ATTR_INIT_BACKGROUND(3)
β¨ NAME β¨
gearman_task_attr_init_background β Gearmand Documentation, http://gearman.info/ π
okay so real talk, bestie: this one's a lil documentation page from the Gearmand crew, and the manual it lives in is the Gearmand manual (yes, the whole GEARMAN_TASK_A...INIT_BACKGROUND(3) title situation β the middle got eaten, it's giving mystery, but we move π«Ά).
πΈ SYNOPSIS πΈ
#include <libgearman/gearman.h>
type gearman_work_t
type gearman_job_priority_t
gearman_work_t gearman_work(gearman_job_priority_t priority)
gearman_work_t gearman_work_epoch(time_t <#c.time_t> epoch,
gearman_job_priority_t priority)
gearman_work_t gearman_work_background(gearman_job_priority_t priority)
and when you build it? literally:
Compile and link with -lgearman
that -lgearman is not optional, babes, it's the whole point π
π DESCRIPTION π
gearman_work_t is the lil struct that describes work for gearman_execute() <#c.gearman_execute>. like, it's how you tell the execute function what kind of workload moment we're having β¨
gearman_work()β makes you agearman_work_twith a priority. that's it, that's the vibe.gearman_work_epoch()β makes agearman_work_tthat tellsgearman_execute()<#c.gearman_execute> to run the workload at the exact time specified byepoch. scheduling era, no cap β°gearman_work_background()β makes agearman_work_tthat tellsgearman_execute()<#c.gearman_execute> to run the workload as a background job. main character energy that doesn't wait around π
π¦ SEE ALSO π¦
gearmand(8)libgearman(3)gearman_execute()
go read those too, iykyk π
π Author
Data Differential http://www.datadifferential.com/
π Copyright
2011-2014, Data Differential, http://www.datadifferential.com/
and that's the whole page, bestie π this cutie is from version 1.1.21+ds, dated Feb 04, 20β¦ (the year got cut off by the footer, tragic, but we love her anyway π). slay, go write some background jobs fr fr π
β¨π
π¦ 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