gearman_worker_create

Langue: en

Version: 297051 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_worker_create - Worker Interface

SYNOPSIS

#include <libgearman/gearman.h>

gearman_worker_st *gearman_worker_create(gearman_worker_st *worker);

DESCRIPTION

Initialize a worker structure. This cannot fail if the caller supplies a worker structure.

PARAMETERS

worker
Caller allocated worker structure, or NULL to allocate one.

RETURN VALUE

Pointer to an allocated worker structure if worker parameter was NULL, or the worker parameter pointer if it was not NULL.

SEE ALSO

The Gearman homepage: http://www.gearman.org/

BUGS

Bugs should be reported at https://bugs.launchpad.net/gearmand

COPYING

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.