Gearman Developer Documentation

libgearman-server/thread.c File Reference

Server Thread Definitions. More...

#include "common.h"

Go to the source code of this file.

Functions

gearman_return_t _thread_packet_read (gearman_server_con_st *con)
static gearman_return_t _thread_packet_flush (gearman_server_con_st *con)
static gearman_return_t _proc_thread_start (gearman_server_st *server)
static void _proc_thread_kill (gearman_server_st *server)
static void * _proc (void *data)
static void _log (const char *line, gearman_verbose_t verbose, void *context)
gearman_server_thread_stgearman_server_thread_create (gearman_server_st *server, gearman_server_thread_st *thread)
void gearman_server_thread_free (gearman_server_thread_st *thread)
const char * gearman_server_thread_error (gearman_server_thread_st *thread)
int gearman_server_thread_errno (gearman_server_thread_st *thread)
void gearman_server_thread_set_event_watch (gearman_server_thread_st *thread, gearman_event_watch_fn *event_watch, void *event_watch_arg)
void gearman_server_thread_set_run (gearman_server_thread_st *thread, gearman_server_thread_run_fn *run_fn, void *run_fn_arg)
void gearman_server_thread_set_log_fn (gearman_server_thread_st *thread, gearman_log_fn *function, void *context, gearman_verbose_t verbose)
gearman_server_con_stgearman_server_thread_run (gearman_server_thread_st *thread, gearman_return_t *ret_ptr)
static void _log (const char *line, gearman_verbose_t verbose, void *context)

Detailed Description

Server Thread Definitions.

Definition in file thread.c.


Function Documentation

static void _log ( const char *  line,
gearman_verbose_t  verbose,
void *  context 
) [static]

Wrapper for log handling.

Definition at line 462 of file thread.c.

Generated on Tue Jun 15 11:40:21 2010 by  doxygen 1.6.3