gearman_server_thread_create(3)
NAME
gearman_server_thread_create - Server Thread Handling
SYNOPSIS
#include <libgearman/gearman.h> gearman_server_thread_st * gearman_server_thread_create(gearman_server_st *server, gearman_server_thread_st *thread);
DESCRIPTION
Initialize a thread structure. This cannot fail if the caller supplies
a thread structure.
PARAMETERS
- server Server structure previously initialized with gearman_server_cre
- ate.
- thread Caller allocated thread structure, or NULL to allocate one.
RETURN VALUE
Pointer to an allocated thread structure if thread parameter was NULL,
or the thread 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.