Commit graph

8 commits

Author SHA1 Message Date
mccallum
5900c268e1 ([RunLoop -acceptInputForMode:beforeDate:]): If LIMIT_DATE is nil,
poll the inputs, but don't wait if there is nothing available
immediately.  Check to make sure that the LIMIT_DATE hasn't already
past; if it has, return immediately, before polling input sources.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1220 72102866-910b-0410-8b05-ffd578937521
1996-03-19 17:10:41 +00:00
mccallum
7d53b43319 Prepend debugging messages with "RunLoop".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1205 72102866-910b-0410-8b05-ffd578937521
1996-03-19 00:59:05 +00:00
mccallum
4904c6560a ([RunLoop -limitDateForMode:]): Assert mode.
([RunLoop -acceptInputForMode:beforeDate:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1196 72102866-910b-0410-8b05-ffd578937521
1996-03-18 20:29:34 +00:00
mccallum
89f5f6a71e Add new explanatory comment at beginning.
([RunLoop -init]): Initialize new ivars.
([RunLoop -currentMode]): New method.
([RunLoop -addFileDescriptor:object:forMode:]): Method replaces
-addFileDescriptor:invocation:forMode:, and re-implemented.  Not yet
functional.
([RunLoop -removeFileDescriptor:forMode:]): Likewise.
([RunLoop -addPort:forMode:]): New method.
([RunLoop -removePort:forMode:]): New method.
([RunLoop -addTimer:forMode:]): Overhauled to do the right thing with
the MODE argument.
([RunLoop -acceptInputForMode:beforeDate:]): Method overhauled to ask
port objects for their FD's, create FD_2_OBJECT map table on the fly,
and initialize FDS on the fly.  Now properly removed invalidated ports
from the MODE.
([RunLoop -runOnceBeforeDate:forMode:]): New method.
([RunLoop -runOnceBeforeDate:]): New method.
([RunLoop -runUntilDate:forMode:]): New method.
([RunLoop -runUntilDate:]): New method.
([RunLoop +runUntilDate:forMode:]): New method.
([RunLoop +runOnceBeforeDate:]): New method.
([RunLoop +runOnceBeforeDate:forMode:]): New method.
([RunLoop +currentMode]): New method.
(RunLoopDefaultMode): New global variable.
([NSObject -performSelector:afterDelay:]): Not implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1187 72102866-910b-0410-8b05-ffd578937521
1996-03-18 19:32:45 +00:00
mccallum
a12177d13a Remove references to NAN. Define bzero for FD_CLR(). Include
<string.h> for memset.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1177 72102866-910b-0410-8b05-ffd578937521
1996-03-18 14:00:47 +00:00
mccallum
c4734ce2a0 ([RunLoop -removeFileDescriptor:forMode:]): Add debugging message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1135 72102866-910b-0410-8b05-ffd578937521
1996-03-13 02:35:25 +00:00
mccallum
9065b24e37 Debugging messages conditioned on debug_run_loop.
([RunLoop -runOnceBeforeDate:forMode:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1120 72102866-910b-0410-8b05-ffd578937521
1996-03-12 19:42:45 +00:00
mccallum
e8d8fc9588 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1114 72102866-910b-0410-8b05-ffd578937521
1996-03-12 15:39:13 +00:00