projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b8e03b
)
fixed: js runtime __spawn_thread signature
author
stagas
<gstagas@gmail.com>
Fri, 8 Dec 2023 17:10:53 +0000
(19:10 +0200)
committer
stagas
<gstagas@gmail.com>
Fri, 8 Dec 2023 17:10:53 +0000
(19:10 +0200)
core/runtime/platform/js/platform.onyx
patch
|
blob
|
history
diff --git
a/core/runtime/platform/js/platform.onyx
b/core/runtime/platform/js/platform.onyx
index de9708638b3deb977f2eac9be814e0b32f9e96a5..be2df4364b0785d0c3723da6ebaeaa706ac3b1ab 100644
(file)
--- 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