Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GEARMAN_CLIENT_SET_MEMORY_ALLOCATORGearGEARMAN_CLIENT_SET_MEMORY_ALLOCATORS(3)

NAME
       gearman_client_set_memory_allocators    -    Gearmand	Documentation,
       http://gearman.info/

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(gear-
       man_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(gear-
       man_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  alloca-
       tors.

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/

1.1.8				 June 0GEARMAN_CLIENT_SET_MEMORY_ALLOCATORS(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gearman_client_set_memory_allocators&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help