discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Patches for poll-based NSRunLoop


From: Richard Frith-Macdonald
Subject: Re: Patches for poll-based NSRunLoop
Date: Sat, 26 Jan 2002 23:03:42 +0000

On Saturday, January 26, 2002, at 10:50 PM, Kaelin Colclasure wrote:

So here is a question I have which you might be able to answer quickly: The
implementation implies that -acceptInputForMode:beforeDate: must be
reentrant. Why? Is this so that e.g. NSPorts can implement "transparent"
event handling or something?

Well, it's needed for any event handler which might run the runloop
again internally before returning, but in particular it's for the
distributed objects system.
Say a client sends a message to a server passing a proxy to one of the objects in the client the server sends a request to that proxy for information, and the client must then send a response to that ... all while waiting for the
response to the original request.




reply via email to

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