~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to docs/libgearman/gearman_task_attr_t.rst

  • 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:
10
10
 
11
11
.. c:type:: gearman_work_t
12
12
 
13
 
.. c:function:: gearman_work_t gearman_work(gearman_job_priority_t priority);
14
 
 
15
 
.. c:function:: gearman_work_t gearman_work_epoch(time_t epoch, gearman_job_priority_t priority);
16
 
 
17
 
.. c:function:: gearman_work_t gearman_work_background(gearman_job_priority_t priority);
 
13
.. c:type:: gearman_job_priority_t
 
14
 
 
15
.. c:function:: gearman_work_t gearman_work(gearman_job_priority_t priority)
 
16
 
 
17
.. c:function:: gearman_work_t gearman_work_epoch(time_t epoch, gearman_job_priority_t priority)
 
18
 
 
19
.. c:function:: gearman_work_t gearman_work_background(gearman_job_priority_t priority)
18
20
 
19
21
Compile and link with -lgearman
20
22
 
22
24
DESCRIPTION
23
25
-----------
24
26
 
25
 
:c:type:`gearman_work_t` describe work for :c:func:`gearman_execute()`.
26
 
 
27
 
:c:func:`gearman_work()` creates a :c:type:`gearman_work_t` with a priority.
28
 
 
29
 
:c:func:`gearman_work_epoch()` creates a :c:type:`gearman_work_t` which tells :c:func:`gearman_execute()` to execute the workload at the time specified by epoch.
30
 
 
31
 
:c:func:`gearman_work_background()` creates a :c:type:`gearman_work_t` which tells :c:func:`gearman_execute()` to execute the workload as a background job.
 
27
:c:type:`gearman_work_t` describe work for :c:func:`gearman_execute`.
 
28
 
 
29
:c:func:`gearman_work` creates a :c:type:`gearman_work_t` with a priority.
 
30
 
 
31
:c:func:`gearman_work_epoch` creates a :c:type:`gearman_work_t` which tells :c:func:`gearman_execute` to execute the workload at the time specified by epoch.
 
32
 
 
33
:c:func:`gearman_work_background` creates a :c:type:`gearman_work_t` which tells :c:func:`gearman_execute` to execute the workload as a background job.
32
34
 
33
35
--------
34
36
SEE ALSO