MCPcopy
hub / github.com/jwasham/practice-python / count_up

Function count_up

experiments/threads2.py:20–25  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

18
19@synchronize
20def count_up(num):
21
22 global database
23
24 time.sleep(random.randrange(3))
25 database.append(num)
26
27
28def main():

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected