Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
WP. Yingamphol
2025-07-15 09:29:10 +07:00
committed by GitHub
parent 02111e7515
commit 08c298808b

View File

@@ -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")