Rechercher une page de manuel
gearman_worker_set_workload_free_fn
Langue: en
Version: 373735 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
gearman_worker_set_workload_free_fn - Worker DeclarationsSYNOPSIS
#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]gearmanStructurepreviouslyinitializedwithgearman_universal_create()or
- gearman_clone().
- [in]functionMemoryfreefunctiontouseinsteadoffree().
- [in]contextArgumenttopassintothecallbackfunction.
SEE ALSO
The Gearman homepage: http://www.gearman.org/BUGS
Bugs should be reported at https://bugs.launchpad.net/gearmandCOPYING
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre