gearman_server_thread_set_event_watch

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

gearman_server_thread_set_event_watch - Server Thread Handling

SYNOPSIS

#include <libgearman/gearman.h>

void gearman_server_thread_set_event_watch(gearman_server_thread_st *thread, gearman_event_watch_fn *event_watch, void *event_watch_arg);

DESCRIPTION

Set custom I/O event watch callback.

PARAMETERS

thread
Thread structure previously initialized with gearman_server_thread_create.
event_watch
Function to be called when events need to be watched.
event_watch_arg
Argument to pass along to event_watch.

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.