gearman_client_add_task_status(3) - Linux man page

Name

gearman_client_add_task_status - Concurrent Task Interface

Synopsis

#include <libgearman/gearman.h>

gearman_task_st *gearman_client_add_task_status(gearman_client_st *client, gearman_task_st *task, void *context, const char *job_handle, gearman_return_t *ret_ptr);

Description

Add task to get the status for a backgound task in parallel. *

Parameters

[in] client Structure previously initialized with
gearman_client_create() or gearman_client_clone().
[in] task Caller allocated structure, or NULL to allocate one.
[in] context Application context to associate with the task.
[in] job_handle The job handle to get status for.
[out] ret_ptr Standard gearman return value.

Return Value

On success, a pointer to the (possibly allocated) structure. On failure this will be NULL.

See Also

The Gearman homepage: http://www.gearman.org/

Bugs

Bugs should be reported at https://bugs.launchpad.net/gearmand

Copying

Copyright © 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.