|
|
Subscribe / Log in / New account

Windows NT synchronization primitives for Linux

Windows NT synchronization primitives for Linux

Posted Feb 22, 2024 17:04 UTC (Thu) by Wol (subscriber, #4433)
In reply to: Windows NT synchronization primitives for Linux by farnz
Parent article: Windows NT synchronization primitives for Linux

That was the point of my ref-counting - wine takes over, but cannot proceed until the ref count drops to zero. Almost certainly not nice ...

Cheers,
Wol


to post comments

Windows NT synchronization primitives for Linux

Posted Feb 22, 2024 21:36 UTC (Thu) by farnz (subscriber, #17727) [Link]

Wine needs to take over before the ref count drops to zero, else you've regressed. To match Windows kernel behaviour, you either need the Linux kernel to support wait-for-all somehow, or you need the Linux kernel to hand over the existing wait-for-any waits to Wine, so that Wine can correctly emulate the corner cases of wait-for-all.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds