aboutsummaryrefslogtreecommitdiff
path: root/tests/h.lua
diff options
context:
space:
mode:
authorame <[email protected]>2024-06-13 00:01:51 -0500
committerame <[email protected]>2024-06-13 00:01:51 -0500
commit2999d3412ccf5c7fc1a9e84695c7a2bce69d3e82 (patch)
tree401f11f59cbf2cee3c7ec1c58906b7c4d8105e4b /tests/h.lua
parent152b605c856112b074dc7b41651424c4170fc067 (diff)
working on deepcopy ub
Diffstat (limited to 'tests/h.lua')
-rw-r--r--tests/h.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/h.lua b/tests/h.lua
index 412d09c..0913892 100644
--- a/tests/h.lua
+++ b/tests/h.lua
@@ -6,15 +6,17 @@ llib.config.set({print_meta=1,max_depth=22})
--llib.thread.unlock(2)
a = llib.thread.buffer(llib.crypto.md5())
-a:mod(function(e) return e end)
-print("hi")
-for i=1,20 do
+
+print(a:get():final())
+for i=1,2009 do
llib.thread.async(function (res)
- a:mod(function(e) return e:update("meow") end)
+ --llib.io.pprint(a);
+ --l = a + a
+ --a:mod(function(e) return e:update("meow") end)
end)
end
-os.execute("sleep 1")
+--os.execute("sleep 1")
print(a:get():final())
--print("unlock")
--llib.thread.unlock(1)