1gearman_worker_set_workload_free_fn(3G)earmgaenarman_worker_set_workload_free_fn(3)
2
3
4

NAME

6       gearman_worker_set_workload_free_fn - Worker Declarations
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11         void  gearman_worker_set_workload_free_fn(gearman_worker_st  *worker,
12       gearman_free_fn *function,  void *context);
13

DESCRIPTION

15       Set custom memory free function for workloads.  Normally  gearman  uses
16       the  standard  system free to free memory used with workloads. The pro‐
17       vided function will be used instead.  *
18

PARAMETERS

20              [in] gearman Structure previously initialized with  gearman_uni‐
21              versal_create() or gearman_clone().
22
23              [in] function Memory free function to use instead of free().
24
25              [in] context Argument to pass into the callback function.
26

SEE ALSO

28       The Gearman homepage: http://www.gearman.org/
29

BUGS

31       Bugs should be reported at https://bugs.launchpad.net/gearmand
32

COPYING

34       Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
35
36       Use  and  distribution  licensed under the BSD license. See the COPYING
37       file in the original source for full text.
38
39
40
41Gearman                           2010-03g-e1a5rman_worker_set_workload_free_fn(3)
Impressum