Quick hack to fix busy wait in run loop

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-03-25 08:13:46 +00:00
parent 3ac2bab295
commit 031118188f
7 changed files with 16 additions and 3 deletions

View file

@ -908,6 +908,8 @@ if (0) {
}
else
{
timeout.tv_sec = -1;
timeout.tv_usec = -1;
select_timeout = NULL;
}
@ -1018,6 +1020,8 @@ if (0) {
select_timeout = &timeout;
}
// NSDebugMLLog(@"NSRunLoop", @"select timeout %d,%d", timeout.tv_sec, timeout.tv_usec);
select_return = select (fdEnd, &read_fds, &write_fds,
&exception_fds, select_timeout);

View file

@ -906,7 +906,7 @@ BOOL
GSCheckTasks()
{
/* FIXME: Implement */
return YES;
return NO;
}
- (void) gcFinalize