aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.lua')
-rw-r--r--src/lanes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua
index e7b9715..9a0287d 100644
--- a/src/lanes.lua
+++ b/src/lanes.lua
@@ -596,8 +596,8 @@ end -- settings.with_timers
596-- 596--
597-- PUBLIC LANES API 597-- PUBLIC LANES API
598local genlock = function( linda, key, N) 598local genlock = function( linda, key, N)
599 linda:set( key) -- clears existing data
599 linda:limit( key, N) 600 linda:limit( key, N)
600 linda:set( key, nil) -- clears existing data
601 601
602 -- 602 --
603 -- [true [, ...]= trues(uint) 603 -- [true [, ...]= trues(uint)