Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

work_queue_task Struct Reference

#include <work_queue.h>


Detailed Description

A task description.

This structure should only be created with work_queue_task_create and delete with work_queue_task_delete. You may examine (but not modify) this structure once a task has completed.


Data Fields

char * program
 The program to execute.
char * args
 The arguments line.
char * output
 The standard output of the task.
list * standard_input_files
 The files to send to the task for use as the task's standard input.
list * extra_staged_files
 The files to transfer to the worker and make available to be opened by the task.
list * extra_created_files
 The output files (other than the standard output stream) created by the program to retrieve from the task.
char * command
 The full command that gets executed.
int taskid
 A unique task id number.
int result
 The exit code of the command line.
char host [32]
 The name of the host on which it ran.
timestamp_t submit_time
 The time the task was submitted.
timestamp_t start_time
 The time at which the task began.
timestamp_t finish_time
 The time at which it completed.


Field Documentation

char* work_queue_task::program
 

The program to execute.

char* work_queue_task::args
 

The arguments line.

char* work_queue_task::output
 

The standard output of the task.

struct list* work_queue_task::standard_input_files
 

The files to send to the task for use as the task's standard input.

struct list* work_queue_task::extra_staged_files
 

The files to transfer to the worker and make available to be opened by the task.

struct list* work_queue_task::extra_created_files
 

The output files (other than the standard output stream) created by the program to retrieve from the task.

char* work_queue_task::command
 

The full command that gets executed.

int work_queue_task::taskid
 

A unique task id number.

int work_queue_task::result
 

The exit code of the command line.

char work_queue_task::host[32]
 

The name of the host on which it ran.

timestamp_t work_queue_task::submit_time
 

The time the task was submitted.

timestamp_t work_queue_task::start_time
 

The time at which the task began.

timestamp_t work_queue_task::finish_time
 

The time at which it completed.


The documentation for this struct was generated from the following file:
Generated on Fri Jun 26 09:33:42 2009 for cctools by  doxygen 1.3.9.1