Libgearman

libgearman is a small, thread-safe client library for the gearman protocol. The code has all been written with an eye to allow for both web and embedded usage. It handles the work behind routing particular keys to specific servers that you specify. By default jobs go to the first idle server in the order you added them; a client can opt into routing by the job’s unique instead, see gearman_client_set_server_selection_by_unique(). It implements both the client and worker interfaces.

Getting Started

Examples

Client Functions

Creating Tasks

Worker Functions

Misc

Structures

Types

Extra