On Tue Aug 20 08:44:15 2024 +0000, Elizabeth Figura wrote:
I'm not sure about the need for this solution, so it's a **DRAFT**.
Why submit it, then?
@zfigura Get feedback or help. There are many types of mutexes, classic, robust-list, priority inherit, all have their pros and cons. Also POSIX imposes some restrictions on the implementation of mutexes, and for example in glibc there is a bug report and MR for PI condvar. Probably a more subtle implementation of the synchronization primitives required by Wine will help its work. Of course ntsync, fsync, esync already solve problems, but I offer an alternative, and not a replacement for them, i.e. it may not work as effectively or work together. I am not sure of the effectiveness of this solution, but it seems to me that some of the problems can be solved by atomic structures and the number of system calls can be reduced.