Gearman Developer Documentation

Private Server Job Functions
[Job Declarations]

Functions

static uint32_t _server_job_hash (const char *key, size_t key_size)
static void _server_con_worker_list_append (gearman_server_worker_st *list, gearman_server_worker_st *worker)
static gearman_server_job_st_server_job_get_unique (gearman_server_st *server, uint32_t unique_key, gearman_server_function_st *server_function, const char *unique, size_t data_size)

Function Documentation

static uint32_t _server_job_hash ( const char *  key,
size_t  key_size 
) [static]

Generate hash key for job handles and unique IDs.

Definition at line 515 of file job.c.

static void _server_con_worker_list_append ( gearman_server_worker_st list,
gearman_server_worker_st worker 
) [inline, static]

Appends a worker onto the end of a list of workers.

Definition at line 351 of file job.c.

static gearman_server_job_st * _server_job_get_unique ( gearman_server_st server,
uint32_t  unique_key,
gearman_server_function_st server_function,
const char *  unique,
size_t  data_size 
) [static]

Get a server job structure from the unique ID. If data_size is non-zero, then unique points to the workload data and not a real unique key.

Definition at line 534 of file job.c.

Generated on Mon Jun 14 15:58:45 2010 by  doxygen 1.6.3