Commit cf73350d authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

loader: On Mac, if Wine is already on secondary thread, don't reserve it for the system frameworks.

parent b93e61ac
......@@ -761,6 +761,12 @@ static void apple_main_thread( void (*init_func)(void) )
CFRunLoopSourceContext source_context = { 0 };
CFRunLoopSourceRef source;
if (!pthread_main_np())
{
init_func();
return;
}
/* Multi-processing Services can get confused about the main thread if the
* first time it's used is on a secondary thread. Use it here to make sure
* that doesn't happen. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment