Poster of Linux kernelThe best gift for a Linux geek
gearman_set_workload_malloc_fn

gearman_set_workload_malloc_fn

Section: Gearman (3) Updated: 2009-09-29
Local index Up
 

NAME

gearman_set_workload_malloc_fn - Gearman Core Interface  

SYNOPSIS

#include <libgearman/gearman.h>

void gearman_set_workload_malloc_fn(gearman_st *gearman, gearman_malloc_fn *function, const void *context);  

DESCRIPTION

Set custom memory allocation function for workloads. Normally gearman uses the standard system malloc to allocate memory used with workloads. The provided function will be used instead. *  

PARAMETERS

[in] gearman Structure previously initialized with gearman_create() or gearman_clone().
[in] function Memory allocation function to use instead of malloc().
[in] context Argument to pass into the callback function.
 

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
SEE ALSO
BUGS
COPYING

This document was created by man2html, using the manual pages.
Time: 22:37:15 GMT, April 16, 2011