Setting a worker’s identifier

SYNOPSIS

#include <libgearman/gearman.h>

gearman_return_t gearman_worker_set_identifier(gearman_worker_st *worker, const char *id, size_t id_size)

Link with -lgearman

DESCRIPTION

gearman_worker_set_identifier() sets the identifier that the server uses to identify the worker.

HOME

To find out more information please check: http://gearman.info/

Table Of Contents

Previous topic

Logging Clients and Workers

Next topic

Misc libgearman Functions