diff options
Diffstat (limited to 'tests/fifo.lua')
-rw-r--r-- | tests/fifo.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fifo.lua b/tests/fifo.lua index d741931..e1bfeae 100644 --- a/tests/fifo.lua +++ b/tests/fifo.lua | |||
@@ -82,4 +82,6 @@ print( B:receive( 2.0)) | |||
82 | -- by multiple threads (other parts will be copied but the 'linda' | 82 | -- by multiple threads (other parts will be copied but the 'linda' |
83 | -- handle is shared userdata and will thus point to the single place) | 83 | -- handle is shared userdata and will thus point to the single place) |
84 | lanes.timer_lane:cancel() -- hard cancel, 0 timeout | 84 | lanes.timer_lane:cancel() -- hard cancel, 0 timeout |
85 | lanes.timer_lane:join() \ No newline at end of file | 85 | local status, err = lanes.timer_lane:join() |
86 | assert(status == nil and err == lanes.cancel_error, "status="..tostring(status).." err="..tostring(err)) | ||
87 | print "TEST OK" | ||