commit | 938be587e9eccf78a6c7fce178b8f4cd678c3701 | [log] [tgz] |
---|---|---|
author | Teng Liang <philoliang2011@gmail.com> | Wed Jul 15 16:25:26 2015 -0700 |
committer | Teng Liang <philoliang2011@gmail.com> | Wed Jul 15 16:25:26 2015 -0700 |
tree | 332187bc0ef9f84d1a663a819772981afd358725 | |
parent | 176a37a5be8db0db44f1f940b9de5afaebcd8b74 [diff] [blame] |
Build basic working structure of NDN-HOME Change-Id: I56cdbac58407192ed9e79ec55f2196c20c2e952d
diff --git a/tests/test_timer.py b/tests/test_timer.py new file mode 100644 index 0000000..becb79e --- /dev/null +++ b/tests/test_timer.py
@@ -0,0 +1,12 @@ +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() \ No newline at end of file