diff options
Diffstat (limited to '')
-rw-r--r-- | deep_userdata_example/deeptest.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deep_userdata_example/deeptest.lua b/deep_userdata_example/deeptest.lua index 6ef4b74..7e6ffd3 100644 --- a/deep_userdata_example/deeptest.lua +++ b/deep_userdata_example/deeptest.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local lanes = require("lanes").configure{ with_timers = false} | 1 | local lanes = require("lanes").configure{ with_timers = false} |
2 | local l = lanes.linda "my linda" | 2 | local l = lanes.linda{name = "my linda"} |
3 | 3 | ||
4 | local table_unpack = table.unpack or unpack -- Lua 5.1 support | 4 | local table_unpack = table.unpack or unpack -- Lua 5.1 support |
5 | 5 | ||
@@ -82,6 +82,7 @@ local performTest = function( obj_) | |||
82 | local g = lanes.gen( | 82 | local g = lanes.gen( |
83 | "package" | 83 | "package" |
84 | , { | 84 | , { |
85 | name = 'auto', | ||
85 | required = { "deep_userdata_example"} -- we will transfer userdata created by this module, so we need to make this lane aware of it | 86 | required = { "deep_userdata_example"} -- we will transfer userdata created by this module, so we need to make this lane aware of it |
86 | } | 87 | } |
87 | , function( arg_, t_) | 88 | , function( arg_, t_) |