MCPcopy Create free account
hub / github.com/ActiveState/code / start

Method start

recipes/Python/492231_timerpy/recipe-492231.py:19–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17
18 # Start Timer Object
19 def start(self):
20 self.__lock.acquire()
21 if not self.__alive:
22 self.__loop = True
23 self.__alive = True
24 thread.start_new_thread(self.__run, ())
25 self.__lock.release()
26
27 # Stop Timer Object
28 def stop(self):

Callers 15

mainFunction · 0.45
_test2Function · 0.45
recipe-65109.pyFile · 0.45
multiple_replaceFunction · 0.45
__call__Method · 0.45
recipe-81612.pyFile · 0.45
recipe-465831.pyFile · 0.45
__init__Method · 0.45
recipe-465057.pyFile · 0.45
__init__Method · 0.45
tinyDomFunction · 0.45
engineFunction · 0.45

Calls 2

acquireMethod · 0.45
releaseMethod · 0.45

Tested by 3

test_writeReadReadFunction · 0.36
test_writeReadReadWriteFunction · 0.36