~clint-fewbar/ubuntu/precise/gearmand/drop-unneeded-patches

« back to all changes in this revision

Viewing changes to docs/man/man3/gearman_worker_set_workload_free.3

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2009-08-11 10:06:22 UTC
  • mto: (1.2.3 upstream) (6.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20090811100622-6ig4iknanc73olum
ImportĀ upstreamĀ versionĀ 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH gearman_worker_set_workload_free 3 2009-05-19 "Gearman" "Gearman"
 
1
.TH gearman_worker_set_workload_free 3 2009-07-19 "Gearman" "Gearman"
2
2
.SH NAME
3
3
gearman_worker_set_workload_free \- Worker Interface
4
4
.SH SYNOPSIS
5
5
.B #include <libgearman/gearman.h>
6
6
.sp
7
 
.BI " void gearman_worker_set_workload_malloc(gearman_worker_st " *worker ", gearman_malloc_fn " *workload_malloc ", const void *workload_malloc_arg); /** * Set custom memory free function for workloads. Normally gearman uses the * standard system free to free memory used with workloads. This function * is used instead. * @param worker Worker structure previously initialized with *        gearman_worker_create or gearman_worker_clone. * @param workload_free Memory free function to replace free(). * @param workload_free_arg Argument to pass along to workload_free. */ void gearman_worker_set_workload_free(gearman_worker_st " *worker ", gearman_free_fn " *workload_free ", const void *workload_free_arg);"
 
7
.BI "void gearman_worker_set_workload_malloc(gearman_worker_st " *worker ", gearman_malloc_fn " *workload_malloc ", const void *workload_malloc_arg); /** * Set custom memory free function for workloads. Normally gearman uses the * standard system free to free memory used with workloads. This function * is used instead. * @param worker Worker structure previously initialized with *        gearman_worker_create or gearman_worker_clone. * @param workload_free Memory free function to replace free(). * @param workload_free_arg Argument to pass along to workload_free. */void gearman_worker_set_workload_free(gearman_worker_st " *worker ", gearman_free_fn " *workload_free ", const void *workload_free_arg);"
8
8
.SH DESCRIPTION
9
9
Set custom memory allocation function for workloads. Normally gearman uses
10
10
the standard system malloc to allocate memory used with workloads. This