Gitiles
Code Review
Sign In
gerrit.named-data.net
/
NDN-HOME
/
938be587e9eccf78a6c7fce178b8f4cd678c3701
/
.
/
tests
/
test_timer.py
blob: becb79e98501ef99b5df802eaff14abb670779d9 [
file
] [
log
] [
blame
]
import
threading
import
time
def
f
():
print
(
"HHHHH"
)
# call f() again in 60 seconds
threading
.
Timer
(
3
,
f
).
start
()
# start calling f now and every 60 sec thereafter
if
__name__
==
'__main__'
:
f
()