gearman_client_run_tasks(3)

gearman_client_run_tasks3

Gearmand documentation, https://gearman.org/gearmand/

Usage

#include <libgearman/gearman.h>

gearman_return_t gearman_client_run_tasks(gearman_client_st *client)

Link with -lgearman

Overview

gearman_client_run_tasks() executes one or more tasks that have been added via gearman_client_add_task(), gearman_client_add_task_status() or gearman_client_add_task_background().

gearman_client_run_tasks() can also be used with gearman_execute() if either non-blocking or background tasks were created with it.

Return value

gearman_return_t

If GEARMAN_PAUSE is returned one of the tasks has "paused" in order to give the caller an opportunity to take some actions (like read data, handle an exception, etc...). See gearman_task_st for more information about the state of a task.

Home

To find out more information please check: https://gearman.org/gearmand/

SEE ALSO:

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8–9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

Author

Data Differential http://www.datadifferential.com/

From gearmand 2.2.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.