Trees | Indices | Help |
---|
|
Abstract Asynchronous execution class.
This is the top abstract class. Concrete classes must implement the _run_program method.
|
|||
|
|||
|
|||
|
|
Async constructor. Initializes the queues, among other things. Of notice, is the access_ds lock for controlling exclusive access to this object. |
Returns the results for a certain Id, the info for that Id is forgotten. parameters: id Id of the task. returns: (return_code, output_files) return code and file access object. The output_files hash key is a relative file name, and the value a output stream. |
Runs a program. Real _run_program to be implemented by concrete classes. parameters: program String identifying program. parameters List of String parameters. input_files Hash of Input file descriptors. returns: Task Id. The input_files hash key is the path that is passed to the program. It should always be relative. Value is a stream. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun May 3 15:51:37 2009 | http://epydoc.sourceforge.net |