src/t/h/threading2-0.1.4/threading2/t2_base.py threading2(Download)
import threading2
from threading import *
from threading import _RLock,_Event,_Condition,_Semaphore,_BoundedSemaphore, \
_Timer,ThreadError,_time,_sleep,_get_ident,_allocate_lock
class Condition(_Condition):
"""Re-implemented Condition class.
This is pretty much a direct clone of the Condition class from the standard
threading module; the only difference is that it uses a custom Lock class
so that acquire() has a "timeout" parameter.
"""
src/b/i/biskit-HEAD/trunk/Biskit/PVM/TrackingJobMaster.py biskit(Download)
from Biskit.PVM.Status import Status import Biskit.tools as T from threading import Thread, RLock, _RLock, Condition, _Condition import time import copy
src/b/i/biskit-HEAD/Biskit/PVM/TrackingJobMaster.py biskit(Download)
from Biskit.PVM.Status import Status import Biskit.tools as T from threading import Thread, RLock, _RLock, Condition, _Condition import time import copy
src/a/s/async-0.6.1/util.py async(Download)
"""Module with utilities related to async operations""" from threading import ( Lock, _allocate_lock, _Condition, _sleep,
src/d/b/dbcook-HEAD/reporter/engine/util/dbg.py dbcook(Download)
return dlm.join( traceback.format_list( traceback.extract_stack( limit=start+depth+1)[-start-depth+1:-start+1] ))
#traceback.print_list( traceback.extract_stack( )[-start-depth+1:-start+1] )
from threading import _Condition, currentThread
def dbg_funcname_thread( i=3):
#thread
return '%s | %s() ' % (currentThread().getName(), dbg_funcname(i+1) )
class Condition( _Condition):