Tags: zfigura/wine
Tags
ntdll: Fix a couple of misplaced global variables. There's no reason these should be global, and in particular, this means that esync_pulse_event() might end up writing 0, which raises the likelihood of a missed wakeup from "probable" to "certain". Fixes #10.
ntdll, server: Revert to old implementation of hung queue detection. By manually notifying the server every time we enter and exit a message wait. The hung queue logic keeps breaking. In the case of bug #9 it was breaking because we were waiting for more than 5 seconds on our queue and then someone sent us a message with SMTO_ABORTIFHUNG. Just stop fighting against the server and try to coöperate with it instead. It takes two extra server calls, but ideally the GUI thread isn't going to be in the same sort of performance- critical code that this patchset was written for.
ntdll, server: Specify EFD_SEMAPHORE on the server side. This just makes things cleaner; since we already pass the type to the server there's no reason to pass this as well.
ntdll, server: Specify EFD_SEMAPHORE on the server side. This just makes things cleaner; since we already pass the type to the server there's no reason to pass this as well.
ntdll, server: Initialize the shared memory portion on the server side. Simply using a CS only prevents this race within one process.
PreviousNext