mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
48499df0dd
commit
e0c9ae4e2d
6 changed files with 43 additions and 31 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue