~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to docs/man/gearman_worker_set_memory_allocators.3

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "GEARMAN_WORKER_SET_MEMORY_ALLOCATORS" "3" "April 17, 2012" "0.32" "Gearmand"
 
1
.TH "GEARMAN_WORKER_SET_MEMORY_ALLOCATORS" "3" "May 03, 2012" "0.33" "Gearmand"
2
2
.SH NAME
3
3
gearman_worker_set_memory_allocators \- Gearmand Documentation, http://gearman.info/
4
4
.
55
55
.UNINDENT
56
56
.INDENT 0.0
57
57
.TP
58
 
.B gearman_return_t gearman_client_set_memory_allocators(gearman_client_st *, gearman_malloc_fn *malloc_fn, gearman_free_fn *free_fn, gearman_realloc_fn *realloc_fn, gearman_calloc_fn *calloc_fn, void *context);
 
58
.B gearman_return_t gearman_client_set_memory_allocators(gearman_client_st\fI\ *\fP, \fI\%gearman_malloc_fn\fP\fI\ *malloc_fn\fP, \fI\%gearman_free_fn\fP\fI\ *free_fn\fP, \fI\%gearman_realloc_fn\fP\fI\ *realloc_fn\fP, \fI\%gearman_calloc_fn\fP\fI\ *calloc_fn\fP, void\fI\ *context\fP)
59
59
.UNINDENT
60
60
.INDENT 0.0
61
61
.TP
62
 
.B gearman_return_t gearman_worker_set_memory_allocators(gearman_worker_st *, gearman_malloc_fn *malloc_fn, gearman_free_fn *free_fn, gearman_realloc_fn *realloc_fn, gearman_calloc_fn *calloc_fn, void *context);
 
62
.B gearman_return_t gearman_worker_set_memory_allocators(gearman_worker_st\fI\ *\fP, \fI\%gearman_malloc_fn\fP\fI\ *malloc_fn\fP, \fI\%gearman_free_fn\fP\fI\ *free_fn\fP, \fI\%gearman_realloc_fn\fP\fI\ *realloc_fn\fP, \fI\%gearman_calloc_fn\fP\fI\ *calloc_fn\fP, void\fI\ *context\fP)
63
63
.UNINDENT
64
64
.sp
65
65
Link to \-lgearman
67
67
.sp
68
68
Install callbacks for custom allocation.
69
69
.sp
70
 
Normally \fImalloc(3)\fP and \fIfree(3)\fP are used for allocation and releasing workloads. You can use \fBgearman_client_set_memory_allocators()\fP and \fBgearman_worker_set_memory_allocators()\fP to set your own custom allocators.
 
70
Normally \fImalloc(3)\fP and \fIfree(3)\fP are used for allocation and releasing workloads. You can use \fI\%gearman_client_set_memory_allocators()\fP and \fI\%gearman_worker_set_memory_allocators()\fP to set your own custom allocators.
71
71
.SH RETURN VALUE
72
72
.sp
73
73
None