GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GEARMAN_ALLOCATOR_T (3)

NAME

gearman_allocator_t - Gearmand Documentation, http://gearman.info/ \$1 \n[an-margin] level \n[rst2man-indent-level] level margin: \n[rst2man-indent\n[rst2man-indent-level]] - \n[rst2man-indent0] \n[rst2man-indent1] \n[rst2man-indent2]

CONTENTS

Synopsis
Description
Return Value
Author
Copyright

SYNOPSIS

#include <libgearman/gearman.h>
gearman_allocator_t
 

gearman_malloc_fn
 
gearman_free_fn
 
gearman_realloc_fn
 
gearman_calloc_fn
 
gearman_return_t gearman_client_set_memory_allocators(gearman_client_st *,  gearman_malloc_fn *malloc_fn,  gearman_free_fn *free_fn,  gearman_realloc_fn *realloc_fn,  gearman_calloc_fn *calloc_fn, void *context)
 
gearman_return_t gearman_worker_set_memory_allocators(gearman_worker_st *,  gearman_malloc_fn *malloc_fn,  gearman_free_fn *free_fn,  gearman_realloc_fn *realloc_fn,  gearman_calloc_fn *calloc_fn, void *context)
 

Link to -lgearman

DESCRIPTION

Install callbacks for custom allocation.

Normally malloc(3) and free(3) are used for allocation and releasing workloads. You can use  gearman_client_set_memory_allocators() and  gearman_worker_set_memory_allocators() to set your own custom allocators.

RETURN VALUE

None
See also

gearmand(8) libgearman(3) gearman_client_st(3)

AUTHOR

Data Differential http://www.datadifferential.com/

COPYRIGHT

2011-2013, Data Differential, http://www.datadifferential.com/
Search for    or go to Top of page |  Section 3 |  Main Index


1.1.8 GEARMAN_ALLOCATOR_T (3) June 06, 2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.