mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-01 19:58:54 +00:00
@@ -183,7 +183,7 @@ _yield :: proc() {
|
||||
posix.sched_yield()
|
||||
}
|
||||
|
||||
_get_name :: proc(thread: ^Thread, allocator: runtime.Allocator, loc: runtime.Source_Code_Location) -> (name:string, err:runtime.Allocator_Error) {
|
||||
_get_name :: proc(thread: ^Thread, allocator: runtime.Allocator, loc: runtime.Source_Code_Location) -> (name: string, err: runtime.Allocator_Error) {
|
||||
// Haiku doesn't have pthread_getname yet
|
||||
when ODIN_OS == .Haiku {
|
||||
unimplemented("core:thread get_name for haiku is not yet supported")
|
||||
|
||||
Reference in New Issue
Block a user