gearman_task_attr_init man page

gearman_task_attr_init — Gearmand Documentation, http://gearman.info/

Synopsis

#include <libgearman/gearman.h>

gearman_work_t

gearman_job_priority_t

gearman_work_t gearman_work(gearman_job_priority_t priority)

gearman_work_t gearman_work_epoch(time_t epoch, gearman_job_priority_t priority)

gearman_work_t gearman_work_background(gearman_job_priority_t priority)

Compile and link with -lgearman

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.

See Also

gearmand(8) libgearman(3) gearman_execute()

Author

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

Info

February 11, 2014 1.1.12 Gearmand