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: https://gearman.org/gearmand/