1gearman_worker_set_context(3) Gearman gearman_worker_set_context(3)
2
3
4
6 gearman_worker_set_context - Worker Declarations
7
9 #include <libgearman/gearman.h>
10
11 void gearman_worker_set_context(gearman_worker_st *worker, void *con‐
12 text);
13
15 Set the application context for a worker. *
16
18 [in] worker Structure previously initialized with gear‐
19 man_worker_create() or gearman_worker_clone().
20
21 [in] context Application context to set.
22
24 The Gearman homepage: http://www.gearman.org/
25
27 Bugs should be reported at https://bugs.launchpad.net/gearmand
28
30 Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
31
32 Use and distribution licensed under the BSD license. See the COPYING
33 file in the original source for full text.
34
35
36
37Gearman 2010-03-15 gearman_worker_set_context(3)