7 Mar
2025
7 Mar
'25
9:28 a.m.
Rémi Bernon (@rbernon) commented about dlls/ntdll/unix/thread.c:
}
+ case ThreadPriority: + { + const DWORD *pprio = data; + if (length != sizeof(DWORD)) return STATUS_INVALID_PARAMETER; + SERVER_START_REQ( set_thread_info ) + { + req->handle = wine_server_obj_handle( handle ); + req->priority = *pprio; + req->mask = SET_THREAD_INFO_PRIORITY; + status = wine_server_call( req ); + } + SERVER_END_REQ; + return status; + }
Would be nice to have tests for this addition. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7516#note_97078