~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to docs/man/gearman_task_attr_init.3

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_TASK_ATTR_INIT" "3" "April 17, 2012" "0.32" "Gearmand"
 
1
.TH "GEARMAN_TASK_ATTR_INIT" "3" "May 03, 2012" "0.33" "Gearmand"
2
2
.SH NAME
3
3
gearman_task_attr_init \- Gearmand Documentation, http://gearman.info/
4
4
.
39
39
.UNINDENT
40
40
.INDENT 0.0
41
41
.TP
42
 
.B gearman_work_t gearman_work(gearman_job_priority_t priority);
43
 
.UNINDENT
44
 
.INDENT 0.0
45
 
.TP
46
 
.B gearman_work_t gearman_work_epoch(time_t epoch, gearman_job_priority_t priority);
47
 
.UNINDENT
48
 
.INDENT 0.0
49
 
.TP
50
 
.B gearman_work_t gearman_work_background(gearman_job_priority_t priority);
 
42
.B gearman_job_priority_t
 
43
.UNINDENT
 
44
.INDENT 0.0
 
45
.TP
 
46
.B \fI\%gearman_work_t\fP gearman_work(\fI\%gearman_job_priority_t\fP\fI\ priority\fP)
 
47
.UNINDENT
 
48
.INDENT 0.0
 
49
.TP
 
50
.B \fI\%gearman_work_t\fP gearman_work_epoch(time_t\fI\ epoch\fP, \fI\%gearman_job_priority_t\fP\fI\ priority\fP)
 
51
.UNINDENT
 
52
.INDENT 0.0
 
53
.TP
 
54
.B \fI\%gearman_work_t\fP gearman_work_background(\fI\%gearman_job_priority_t\fP\fI\ priority\fP)
51
55
.UNINDENT
52
56
.sp
53
57
Compile and link with \-lgearman
55
59
.sp
56
60
\fI\%gearman_work_t\fP describe work for \fBgearman_execute()\fP.
57
61
.sp
58
 
\fBgearman_work()\fP creates a \fI\%gearman_work_t\fP with a priority.
59
 
.sp
60
 
\fBgearman_work_epoch()\fP creates a \fI\%gearman_work_t\fP which tells \fBgearman_execute()\fP to execute the workload at the time specified by epoch.
61
 
.sp
62
 
\fBgearman_work_background()\fP creates a \fI\%gearman_work_t\fP which tells \fBgearman_execute()\fP to execute the workload as a background job.
 
62
\fI\%gearman_work()\fP creates a \fI\%gearman_work_t\fP with a priority.
 
63
.sp
 
64
\fI\%gearman_work_epoch()\fP creates a \fI\%gearman_work_t\fP which tells \fBgearman_execute()\fP to execute the workload at the time specified by epoch.
 
65
.sp
 
66
\fI\%gearman_work_background()\fP creates a \fI\%gearman_work_t\fP which tells \fBgearman_execute()\fP to execute the workload as a background job.
63
67
.SH SEE ALSO
64
68
.sp
65
69
\fIgearmand(8)\fP \fIlibgearman(3)\fP \fIgearman_execute()\fP