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 * command_line
 The program(s) to execute, as a shell command line.
char * output
 The standard output of the task.
list * input_files
 The files to transfer to the worker and place in the executing directory.
list * output_files
 The output files (other than the standard output stream) created by the program expected to be retrieved from the task.
int taskid
 A unique task id number.
int return_status
 The exit code of the command line.
int result
 The result of the task (successful, failed return_status, missing input file, missing output file).
char * host
 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::command_line
 

The program(s) to execute, as a shell command line.

char* work_queue_task::output
 

The standard output of the task.

struct list* work_queue_task::input_files
 

The files to transfer to the worker and place in the executing directory.

struct list* work_queue_task::output_files
 

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

int work_queue_task::taskid
 

A unique task id number.

int work_queue_task::return_status
 

The exit code of the command line.

int work_queue_task::result
 

The result of the task (successful, failed return_status, missing input file, missing output file).

char* work_queue_task::host
 

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 Thu Jul 23 09:27:06 2009 for cctools by  doxygen 1.3.9.1