gearman_server_thread_set_run(3)
NAME
gearman_server_thread_set_run - Server Thread Handling
SYNOPSIS
#include <libgearman/gearman.h> void gearman_server_thread_set_run(gearman_server_thread_st *thread, gearman_server_thread_run_fn *run_fn, void *run_arg);
DESCRIPTION
Set thread run callback.
PARAMETERS
- thread Thread structure previously initialized with gear
- man_server_thread_create.
- run_fn Function to call when thread should be run.
- run_arg
- Argument to pass along with run_fn.
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.