1gearman_worker_create(3) Gearman gearman_worker_create(3)
2
3
4
6 gearman_worker_create - Worker Declarations
7
9 #include <libgearman/gearman.h>
10
11 gearman_worker_st *gearman_worker_create(gearman_worker_st *worker);
12
14 Initialize a worker structure. Always check the return value even if
15 passing in a pre-allocated structure. Some other initialization may
16 have failed. It is not required to memset() a structure before providā
17 ing it. *
18
20 [in] worker Caller allocated structure, or NULL to allocate one.
21
23 On success, a pointer to the (possibly allocated) structure. On failure
24 this will be NULL.
25
27 The Gearman homepage: http://www.gearman.org/
28
30 Bugs should be reported at https://bugs.launchpad.net/gearmand
31
33 Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
34
35 Use and distribution licensed under the BSD license. See the COPYING
36 file in the original source for full text.
37
38
39
40Gearman 2010-03-15 gearman_worker_create(3)