gearman_worker_create(3) - Linux man page

Name

gearman_worker_create - Worker Declarations

Synopsis

#include <libgearman/gearman.h>

gearman_worker_st *gearman_worker_create(gearman_worker_st *worker);

Description

Initialize a worker structure. Always check the return value even if passing in a pre-allocated structure. Some other initialization may have failed. It is not required to memset() a structure before providing it. *

Parameters

[in] worker Caller allocated structure, or NULL to allocate one.

Return Value

On success, a pointer to the (possibly allocated) structure. On failure this will be NULL.

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.