Trees | Indices | Help |
|
---|
|
Module implementing the job queue handling.
|
|||
None or int |
|
||
|
|||
|
|||
utils.FileLock |
|
||
boolean |
|
||
|
Imports: errno, os, constants, errors, runtime, utils
|
Reads a file containing a number.
|
Read the serial file. The queue should be locked while this function is called. |
Read the queue version. The queue should be locked while this function is called. |
Open and lock job queue. If necessary, the queue is automatically initialized.
|
Check if the queue is marked to be drained. This currently uses the queue drain file, which makes it a per-node flag. In the future this can be moved to the config file.
|
Sets the drain flag for the queue.
Attention: This function should only called the current holder of the queue lock |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 16:51:19 2012 | http://epydoc.sourceforge.net |