bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MingW] Multithreading applications do not work


From: Wim Oudshoorn
Subject: Re: [MingW] Multithreading applications do not work
Date: Tue, 24 Feb 2004 17:10:15 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (darwin)

Wim Oudshoorn <address@hidden> writes:

> If no one objects I will commit this patch.
>
> Problem
> -------
> On MinGW if a program becomes multithreaded it will bail out.
>
>
> Reason
> ------
> If a program becomes multithreaded GSPerformHolder will be set up.
> This in turn will create a pipe to communicate between threads.
> However pipes are not sockets and when it registers the 
> pipe (non-socket) with the runloop of the default thread 
> it will bail out because the runloop does not understand
> pipes
>
>
> Solution
> --------
> Temporary solution is to remove the offending code on MinGW.
> This will break performSelectorOnMainThread methods, but at
> least multithreading will work.
>
> (This is a short term solution)
>
>
> Wim Oudshoorn.
>
Forgot the patch

Attachment: nsthread-2.patch
Description: MinGW, comment out code that adds pipes to the runloop


reply via email to

[Prev in Thread] Current Thread [Next in Thread]