[Bug 59017] New: Synchronization barrier cannot be entered multiple times
http://bugs.winehq.org/show_bug.cgi?id=59017 Bug ID: 59017 Summary: Synchronization barrier cannot be entered multiple times Product: Wine Version: 10.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)list.winehq.org Reporter: m101010a(a)gmail.com Distribution: --- Created attachment 79756 --> http://bugs.winehq.org/attachment.cgi?id=79756 Sample program from The Old New Thing When running the sample program at https://devblogs.microsoft.com/oldnewthing/20151123-00/?p=92161 (also attached as sample.c), the second call to EnterSynchronizationBarrier does not work properly. Instead of returning false and blocking for the first 3 threads and then returning true for the last thread, it returns true and does not block all 4 times, causing the program to print "Locking the door" 4 times instead of only once, and causing the threads to not synchronize between printing "Leaving the room" and "Saying good-bye and going home". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59017 Paul Gofman <pgofman(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman(a)codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59017 --- Comment #1 from Paul Gofman <pgofman(a)codeweavers.com> --- Thanks for the report! I sent the MR to support such a case: https://gitlab.winehq.org/wine/wine/-/merge_requests/9557 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59017 Paul Gofman <pgofman(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |b90044a3d5618a227ce620e3f03 | |86d2ae79926f0 Resolution|--- |FIXED --- Comment #2 from Paul Gofman <pgofman(a)codeweavers.com> --- Should be fixed by b90044a3d5618a227ce620e3f0386d2ae79926f0 . -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59017 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla