24
24
gearman_worker_create() is used to create a :c:type:`gearman_worker_st` structure that will then
25
25
be used by other libgearman(3) client functions to communicate with the server. You
27
27
a NULL. If a NULL passed in then a structure is allocated for you.
30
30
defaults and list of servers from the source :c:type:`gearman_worker_st`. If you pass a null as
31
31
the argument for the source to clone, it is the same as a call to gearman_worker_create().
32
32
If the destination argument is NULL a :c:type:`gearman_worker_st` will be allocated for you.
34
34
To clean up memory associated with a :c:type:`gearman_worker_st` structure you should pass
36
36
the only way to make sure all memory is deallocated when you finish using
40
40
stack based allocation, ie the first parameter. The most common issues related to ABI safety involve
41
41
heap allocated structures.