gearman_server_con_add(3)
NAME
gearman_server_con_add - Server Connection Handling
SYNOPSIS
#include <libgearman/gearman.h> gearman_server_con_st *gearman_server_con_add(gearman_server_thread_st *thread, int fd, void *data);
DESCRIPTION
Add a connection to a server thread. This goes into a list of connections that is used later with server_thread_run, no socket I/O happens
here.
PARAMETERS
- thread Thread structure previously initialized with gear
- man_server_thread_create.
- fd File descriptor for a newly accepted connection.
- data Application data pointer.
RETURN VALUE
Gearman server connection pointer.
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.