pass more info to notification functions

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29068 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-11-27 07:53:38 +00:00
parent 48499df0dd
commit e0c9ae4e2d
6 changed files with 43 additions and 31 deletions

View file

@ -386,7 +386,7 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
* we can service the queue. Similarly, if a task has completed,
* we need to deliver its notifications.
*/
if (GSPrivateCheckTasks() || GSPrivateNotifyMore() || immediate == YES)
if (GSPrivateCheckTasks() || GSPrivateNotifyMore(mode) || immediate == YES)
{
wait_timeout = 0;
}
@ -506,7 +506,7 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
extra: watcher->data
forMode: mode];
}
GSPrivateNotifyASAP();
GSPrivateNotifyASAP(mode);
}
// if there are windows message
@ -569,7 +569,7 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
forMode: mode];
}
GSPrivateNotifyASAP();
GSPrivateNotifyASAP(mode);
completed = YES;
return YES;