Module AsynchronousLock
source code
|
|
AsynchronousLock
This uses the portage.locks module to acquire a lock
asynchronously, using either a thread (if available) or a
subprocess.
|
|
|
_LockThread
This uses the portage.locks module to acquire a lock
asynchronously, using a background thread.
|
|
|
_LockProcess
This uses the portage.locks module to acquire a lock
asynchronously, using a subprocess.
|
Imports:
dummy_threading,
fcntl,
errno,
logging,
sys,
threading,
portage,
os,
TryAgain,
_,
lockfile,
unlockfile,
writemsg_level,
AbstractPollTask,
AsynchronousTask,
SpawnProcess