loader: On Mac, reserve the process's original thread for the frameworks.
authorKen Thomases <ken@codeweavers.com>
Tue, 16 Nov 2010 07:41:14 +0000 (01:41 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 16 Nov 2010 10:47:58 +0000 (11:47 +0100)
commit47dea9b6707a73a66bcc1b96bcf72ffe1168c0fa
treee0e50258bf7d98285b9fc6d790fbccc6a432f911
parentc2b42758da9542fb880d769f378fe54fad02b5ae
loader: On Mac, reserve the process's original thread for the frameworks.

The frameworks expect the original thread to run its run loop, so input
sources (like distributed notifications) get processed.  For example,
Core Audio on Snow Leopard doesn't track changes in the default ouput
device, such as when headphones are plugged in, without this.
dlls/kernel32/process.c
libs/wine/Makefile.in
libs/wine/loader.c