1GEARMAN_ALLOCATOR_T(3)             Gearmand             GEARMAN_ALLOCATOR_T(3)
2
3
4

NAME

6       gearman_allocator_t - Gearmand Documentation, http://gearman.info/
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11       gearman_allocator_t
12
13       gearman_malloc_fn
14
15       gearman_free_fn
16
17       gearman_realloc_fn
18
19       gearman_calloc_fn
20
21       gearman_return_t             gearman_client_set_memory_allocators(gear‐
22       man_client_st *,                          gearman_malloc_fn *malloc_fn,
23       gearman_free_fn *free_fn,               gearman_realloc_fn *realloc_fn,
24       gearman_calloc_fn *calloc_fn, void *context)
25
26       gearman_return_t             gearman_worker_set_memory_allocators(gear‐
27       man_worker_st *,                          gearman_malloc_fn *malloc_fn,
28       gearman_free_fn *free_fn,               gearman_realloc_fn *realloc_fn,
29       gearman_calloc_fn *calloc_fn, void *context)
30
31       Link to -lgearman
32

DESCRIPTION

34       Install callbacks for custom allocation.
35
36       Normally  malloc(3)  and  free(3) are used for allocation and releasing
37       workloads.  You  can  use  gearman_client_set_memory_allocators()   and
38       gearman_worker_set_memory_allocators()  to  set your own custom alloca‐
39       tors.
40

RETURN VALUE

42       None
43
44       SEE ALSO:
45          gearmand(8) libgearman(3) gearman_client_st(3)
46

AUTHOR

48       Data Differential http://www.datadifferential.com/
49
51       2011-2014, Data Differential, http://www.datadifferential.com/
52
53
54
55
561.1.18                         December 11, 2017        GEARMAN_ALLOCATOR_T(3)
Impressum