From: stagas Date: Fri, 8 Dec 2023 17:10:53 +0000 (+0200) Subject: fixed: js runtime __spawn_thread signature X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=b8a0f5ca76c969472ba1d6f6866393258273e05c;p=onyx.git fixed: js runtime __spawn_thread signature --- diff --git a/core/runtime/platform/js/platform.onyx b/core/runtime/platform/js/platform.onyx index de970863..be2df436 100644 --- a/core/runtime/platform/js/platform.onyx +++ b/core/runtime/platform/js/platform.onyx @@ -73,7 +73,7 @@ __start :: () { } #if Multi_Threading_Enabled { - __spawn_thread :: (id: i32, tls_base: rawptr, func: (data: rawptr) -> void, data: rawptr) -> bool #foreign "host" "spawn_thread" --- + __spawn_thread :: (id: i32, tls_base: rawptr, stack_base: rawptr, func: (data: rawptr) -> void, data: rawptr) -> bool #foreign "host" "spawn_thread" --- __kill_thread :: (id: i32) -> i32 #foreign "host" "kill_thread" --- #export "_thread_start" runtime._thread_start