Poster of Linux kernelThe best gift for a Linux geek
gearman_server_con_add

gearman_server_con_add

Section: Gearman (3) Updated: 2009-09-29
Local index Up
 

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 gearman_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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
BUGS
COPYING

This document was created by man2html, using the manual pages.
Time: 22:37:14 GMT, April 16, 2011