gearman_set_workload_malloc(3)
NAME
gearman_set_workload_malloc - Gearman Core Interface
SYNOPSIS
#include <libgearman/gearman.h> void gearman_set_workload_malloc(gearman_st *gearman, gearman_malloc_fn *workload_malloc, const void *workload_malloc_arg);
DESCRIPTION
Set custom memory allocation function for workloads. Normally gearman
uses the standard system malloc to allocate memory used with workloads.
This function is used instead.
SEE ALSO
The Gearman homepage: http://www.gearman.org/
BUGS
Bugs should be reported at https://bugs.launchpad.net/gearmand
COPYING
Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
- Use and distribution licensed under the BSD license. See the COPYING
file in the original source for full text.