mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-24 16:37:54 +00:00
Changed js panics to unimplemented where sensible
This commit is contained in:
@@ -22,34 +22,34 @@ _thread_priority_map := [Thread_Priority]i32{
|
||||
}
|
||||
|
||||
_create :: proc(procedure: Thread_Proc, priority := Thread_Priority.Normal) -> ^Thread {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_start :: proc(t: ^Thread) {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_is_done :: proc(t: ^Thread) -> bool {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_join :: proc(t: ^Thread) {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_join_multiple :: proc(threads: ..^Thread) {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_destroy :: proc(thread: ^Thread) {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_terminate :: proc(using thread : ^Thread, exit_code: int) {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
_yield :: proc() {
|
||||
panic("core:thread procedure not supported on js target")
|
||||
unimplemented("core:thread procedure not supported on js target")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user