Re: [PATCH v2 0/7] MR6911: ntdll: Add WaitCompletionPacket.
1 Dec
2024
1 Dec
'24
9:51 p.m.
Jinoh Kang (@iamahuman) commented about server/thread.c:
return 0; }
+int is_obj_signaled( struct object *obj ) +{ + struct wait_queue_entry wait_entry; + struct thread_wait wait = {0}; + + if (!obj->ops->signaled) + return 0; + + wait.thread = current;
This looks wrong. Unless I've mistaken, this should be the thread that *initiated* the wait (like, the one that created or associated the wait completion packet), not `current`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6911#note_89384
377
Age (days ago)
377
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jinoh Kang (@iamahuman)