https://bugs.winehq.org/show_bug.cgi?id=29582
Daniel Santos daniel.santos@pobox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38323|0 |1 is obsolete| | CC| |daniel.santos@pobox.com
--- Comment #16 from Daniel Santos daniel.santos@pobox.com --- Created attachment 52285 --> https://bugs.winehq.org/attachment.cgi?id=52285 GetForegroundWindow hack plus hybrid (wineserver/native) semaphores
Thanks for keeping up with this hack guys!
Today I have a present for you -- this rather large patch speeds up load times even further. (This isn't the in-process wineserver patch set either.) This patch applies cleanly to 1.7.51. After patching you're supposed to be able to configure with --enable-hybrid-sync, but I think missed something in configure.ac and it's not working. So instead you can either edit your include/config.h (in the build directory) and add this:
#define ENABLE_POSIX_SYNC 1
or add -DENABLE_POSIX_SYNC=1 to your CFLAGS.
This patch contains both the previous hack as well as an experimental hybrid semaphores patch set that I'm working on. After the actual files are cached, loading is now almost instantaneous -- faster than on Windows!