7 #ifndef WORK_QUEUE_JSON_H
8 #define WORK_QUEUE_JSON_H
A manager-worker library.
char * work_queue_json_wait(struct work_queue *q, int timeout)
Wait for a task to complete.
char * work_queue_json_get_status(struct work_queue *q)
Get the status for a given work queue.
int work_queue_json_submit(struct work_queue *q, const char *str)
Submit a task to a queue.
struct work_queue * work_queue_json_create(const char *str)
Create a new work_queue object.
char * work_queue_json_remove(struct work_queue *q, int id)
Remove a task from the queue.