aboutsummaryrefslogtreecommitdiff
path: root/tests/timer.lua
diff options
context:
space:
mode:
authorBenoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m>2019-04-26 12:20:06 +0200
committerBenoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m>2019-04-26 12:20:06 +0200
commit9c84074c89661cd1e776eff3d4aa5329a2ac9524 (patch)
tree3c424371c1f21f4dee493793c8316059bf8217c6 /tests/timer.lua
parent32f8cdfc73ed90dcf88ffcf4bfc1a3e4d5a69e6c (diff)
downloadlanes-9c84074c89661cd1e776eff3d4aa5329a2ac9524.tar.gz
lanes-9c84074c89661cd1e776eff3d4aa5329a2ac9524.tar.bz2
lanes-9c84074c89661cd1e776eff3d4aa5329a2ac9524.zip
Lane cancellation rework
opt.cancelstep is gone, hook is installed by lane:cancel() if requested lane:cancel() rework (see doc)
Diffstat (limited to 'tests/timer.lua')
-rw-r--r--tests/timer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timer.lua b/tests/timer.lua
index 805d85c..ec23cee 100644
--- a/tests/timer.lua
+++ b/tests/timer.lua
@@ -100,5 +100,5 @@ PRINT "...making sure no ticks are coming..."
100local k,v= linda:receive( 10, T1,T2 ) -- should not get any 100local k,v= linda:receive( 10, T1,T2 ) -- should not get any
101assert(v==nil) 101assert(v==nil)
102 102
103lanes.timer_lane:cancel() 103lanes.timer_lane:cancel() -- hard cancel, 0 timeout
104print (lanes.timer_lane[1], lanes.timer_lane[2]) \ No newline at end of file 104print (lanes.timer_lane[1], lanes.timer_lane[2]) \ No newline at end of file