diff options
| author | ruki <[email protected]> | 2025-08-28 22:28:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-28 11:35:54 +0800 |
| commit | c316009d37c853c070030823c257d1cbcf94ea48 (patch) | |
| tree | 273f759f75957e3c27e8828e17623d24f713792c /tests/modules/thread | |
| parent | c865267f3e781dc208f804efe8fa7f7fde53a064 (diff) | |
fix mutex cdata
Diffstat (limited to 'tests/modules/thread')
| -rw-r--r-- | tests/modules/thread/mutex.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/thread/mutex.lua b/tests/modules/thread/mutex.lua index 0f1954c8a..e969c0747 100644 --- a/tests/modules/thread/mutex.lua +++ b/tests/modules/thread/mutex.lua @@ -7,8 +7,8 @@ function callback(mutex) for i = 1, 10 do mutex:lock() print("%s: %d", thread.running(), i) - os.sleep(1000) mutex:unlock() + os.sleep(1000) end dt = os.mclock() - dt print("%s: end, dt: %d ms", thread.running(), dt) |
