gearman_task_attr_t - Gearmand Documentation, http://gearman.info/
Contents
Copyright
2011-2014, Data Differential, http://www.datadifferential.com/
1.1.20+ds Mar 19, 2025 GEARMAN_TASK_ATTR_T(3)
Description
gearman_work_t describe work for gearman_execute().
gearman_work() creates a gearman_work_t with a priority.
gearman_work_epoch() creates a gearman_work_t which tells gearman_execute() to execute the workload at
the time specified by epoch.
gearman_work_background() creates a gearman_work_t which tells gearman_execute() to execute the workload
as a background job.
Name
gearman_task_attr_t - Gearmand Documentation, http://gearman.info/See Also
gearmand(8)libgearman(3)gearman_execute()
Synopsis
#include <libgearman/gearman.h>
typegearman_work_ttypegearman_job_priority_tgearman_work_tgearman_work(gearman_job_priority_tpriority)gearman_work_tgearman_work_epoch(time_tepoch,gearman_job_priority_tpriority)gearman_work_tgearman_work_background(gearman_job_priority_tpriority)
Compile and link with -lgearman
