diff options
| author | amelia squires <[email protected]> | 2025-10-17 03:55:59 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-10-17 03:55:59 -0500 |
| commit | c98e641ed9169cc09e6fe44c1bee2b28d5d694b2 (patch) | |
| tree | 229136c146892fe6538f934dad1a7c6f0062f5fa | |
| parent | 8705ace5b71a090fc6c6ce745b2637c74b277b50 (diff) | |
set done on res()
| -rw-r--r-- | src/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c index add1287..617d63f 100644 --- a/src/thread.c +++ b/src/thread.c @@ -163,6 +163,7 @@ int l_res(lua_State* L){ lua_settop(L, ot);
}
+ info->done = 1;
pthread_mutex_unlock(&*info->lock);
pthread_exit(NULL);
|
