aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-04-15 12:21:27 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-04-15 12:21:27 +0200
commite79953ff093c0518975111c69d16e97ccf966e20 (patch)
tree2644e1fd7b0b5f88359c42499945f8aedbe30f1c /tests
parentadaa36dbec1ce9aaafd61873b9d3d898a8c240cf (diff)
downloadlanes-e79953ff093c0518975111c69d16e97ccf966e20.tar.gz
lanes-e79953ff093c0518975111c69d16e97ccf966e20.tar.bz2
lanes-e79953ff093c0518975111c69d16e97ccf966e20.zip
fix keeper state stack accumulating garbage in case of transfer errors
Diffstat (limited to 'tests')
-rw-r--r--tests/deadlock.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/deadlock.lua b/tests/deadlock.lua
index 73d7ccb..c85d99f 100644
--- a/tests/deadlock.lua
+++ b/tests/deadlock.lua
@@ -1,7 +1,7 @@
1-- this script tests the fix of a bug that could cause the mutex of a keeper state to remain locked 1-- this script tests the fix of a bug that could cause the mutex of a keeper state to remain locked
2-- see https://github.com/LuaLanes/lanes/commit/0cc1c9c9dcea5955f7dab921d9a2fff78c4e1729 2-- see https://github.com/LuaLanes/lanes/commit/0cc1c9c9dcea5955f7dab921d9a2fff78c4e1729
3 3
4local lanes = require('lanes').configure() 4local lanes = require('lanes').configure{with_timers=false}
5local linda = lanes.linda "deadlock_linda" 5local linda = lanes.linda "deadlock_linda"
6 6
7print "let's begin" 7print "let's begin"