diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-11 15:14:52 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-11 15:14:52 +0200 |
commit | adaa36dbec1ce9aaafd61873b9d3d898a8c240cf (patch) | |
tree | 4c81e8f5983c3d696a636e2cc433ce7c0a9c3dd8 /tests/protect_allocator.lua | |
parent | 1d310e6ecb6e156598337612f16573d9cd284f5e (diff) | |
download | lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.tar.gz lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.tar.bz2 lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.zip |
Bring all interesting fixes from the C++ implementation back into the C implementation
Diffstat (limited to 'tests/protect_allocator.lua')
-rw-r--r-- | tests/protect_allocator.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/protect_allocator.lua b/tests/protect_allocator.lua index 593261e..5cbb1d8 100644 --- a/tests/protect_allocator.lua +++ b/tests/protect_allocator.lua | |||
@@ -46,5 +46,8 @@ for i = 1, COUNT do | |||
46 | end | 46 | end |
47 | 47 | ||
48 | -- wait for completion | 48 | -- wait for completion |
49 | print "wait for completion" | ||
49 | linda:receive( linda.batched, "key", COUNT) | 50 | linda:receive( linda.batched, "key", COUNT) |
51 | print "waiting a bit more ..." | ||
52 | linda:receive( 1, "foo") | ||
50 | print "SUCCESS" | 53 | print "SUCCESS" |