| Trees | Indices | Help |
|
|---|
|
|
object --+
|
portage.util.SlotObject.SlotObject --+
|
AsynchronousTask.AsynchronousTask --+
|
AsynchronousLock
This uses the portage.locks module to acquire a lock asynchronously, using either a thread (if available) or a subprocess.
The default behavior is to use a process instead of a thread, since there is currently no way to interrupt a thread that is waiting for a lock (notably, SIGINT doesn't work because python delivers all signals to the main thread).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
_use_process_by_default = True
|
|||
|
Inherited from |
|||
|
|||
| _force_async | |||
| _force_dummy | |||
| _force_process | |||
| _force_thread | |||
| _imp | |||
| path | |||
| scheduler | |||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Subclasses should implement this, as a template method to be called by AsynchronousTask.cancel().
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 23 22:25:35 2013 | http://epydoc.sourceforge.net |