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

Function main

recipes/Python/466427_mthreadpy/recipe-466427.py:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8BUSY_TIME = 40000
9
10def main():
11 try:
12 if len(argv) != 3:
13 raise Exception
14 engine(int(argv[1]), int(argv[2]))
15 except:
16 print basename(argv[0]), '<threads> <seconds>'
17
18def engine(threads, seconds):
19 print 'Suite starting at', ctime()

Callers 1

recipe-466427.pyFile · 0.70

Calls 1

engineFunction · 0.70

Tested by

no test coverage detected