Home | Trees | Indices | Help |
|
---|
|
File based locking.
|
|||
|
|||
|
|||
int |
|
||
|
|||
int |
|
||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|
|||
fp The file pointer to the lock file. |
|||
str |
path The absolute path to the lock file. |
||
int |
pid current process id. |
|
|
Open the lock file. Created in not exists. Opened with file locking. |
Get the process id.
|
Write our procecss id and flush.
|
Get the current process id.
|
Get whether the pid in the file is valid.
|
Close the file and release the file lock. Reset pid & fp to (None). |
Get if file not created.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 7 12:30:31 2010 | http://epydoc.sourceforge.net |