1gearman_client_do_background(3)     Gearman    gearman_client_do_background(3)
2
3
4

NAME

6       gearman_client_do_background - Single Task Interface
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11            gearman_return_t    gearman_client_do_background(gearman_client_st
12       *client,  const char *function_name,  const char *unique,   const  void
13       *workload,  size_t workload_size,  char *job_handle);
14

DESCRIPTION

16       Run a task in the background.  *
17

PARAMETERS

19              [in]   client   Structure   previously  initialized  with  gear‐
20              man_client_create() or gearman_client_clone().
21
22              [in] function_name The name of the function to run.
23
24              [in] unique Optional unique job identifier, or NULL  for  a  new
25              UUID.
26
27              [in]  workload  The  workload to pass to the function when it is
28              run.
29
30              [in] workload_size Size of the workload.
31
32              [out] job_handle A buffer to store the job handle in. Must be at
33              least GEARMAN_JOB_HANDLE_SIZE bytes long.
34

RETURN VALUE

36       Standard gearman return value.
37

SEE ALSO

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

BUGS

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

COPYING

45       Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
46
47       Use  and  distribution  licensed under the BSD license. See the COPYING
48       file in the original source for full text.
49
50
51
52Gearman                           2010-03-15   gearman_client_do_background(3)
Impressum