ASYNC_EXEC Class Reference

Provides the ability to execute a checkpointing task asynchronously. More...

#include <async_exec.h>

Collaboration diagram for ASYNC_EXEC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ASYNC_EXEC (CHKPT_TASK *task)
 ~ASYNC_EXEC ()
int async_exec_code (int argc, char *argv[])

Static Public Member Functions

static CHKPT_TASKasync_exec (CHKPT_TASK *task, m_host_t host)
 Asynchronously execute a task.

Public Attributes

MSG_error_t state
CHKPT_TASKtask

Detailed Description

Provides the ability to execute a checkpointing task asynchronously.

Upon host failure, the execution thread terminates. When async_exec is called again with the same CHKPT_TASK, the task will be restarted from the last checkpoint.


Constructor & Destructor Documentation

ASYNC_EXEC::ASYNC_EXEC CHKPT_TASK task  ) 
 

ASYNC_EXEC::~ASYNC_EXEC  )  [inline]
 


Member Function Documentation

CHKPT_TASK * ASYNC_EXEC::async_exec CHKPT_TASK task,
m_host_t  host
[static]
 

Asynchronously execute a task.

When called on a preempted, or cancelled chkpt_task, execution of the task will resume from the last checkpoint

int ASYNC_EXEC::async_exec_code int  argc,
char *  argv[]
 


Member Data Documentation

MSG_error_t ASYNC_EXEC::state
 

CHKPT_TASK* ASYNC_EXEC::task
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 16:22:01 2007 for SimBOINC by  doxygen 1.4.6