gearmand_wakeup

Langue: en

Version: 295263 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gearmand_wakeup - Gearmand

SYNOPSIS

#include <libgearman/gearman.h>

void gearmand_wakeup(gearmand_st *gearmand, gearmand_wakeup_t wakeup);

DESCRIPTION

Interrupt a running gearmand server from another thread. You should only call this when another thread is currently running gearmand_run() and you want to wakeup the server with the given event.

PARAMETERS

gearmand
Server instance structure previously initialized with gearmand_create.
wakeup
Wakeup event to send to running gearmand.

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.