gearman_worker_set_workload_free_fn(3) - Linux man page

Name

gearman_worker_set_workload_free_fn - Worker Declarations

Synopsis

#include <libgearman/gearman.h>

void gearman_worker_set_workload_free_fn(gearman_worker_st *worker, gearman_free_fn *function, void *context);

Description

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

Parameters

[in] gearman Structure previously initialized with gearman_universal_create() or
gearman_clone().
[in] function Memory free function to use instead of free().
[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 © 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.