notifyIdle() fix to send ASAP notifications even when no idle notifications are waiting.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4728 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-08-20 15:21:59 +00:00
parent e5562f19ab
commit 91d8c080fc
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
even when no idle notifications are waiting.
1999-08-19 Michael Hanni <mhanni@sprintmail.com>
* Source/NSObjCRuntime.m: patch from Tim Bissell to help in

View file

@ -43,7 +43,7 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#include <config.h>
@ -479,11 +479,11 @@ static inline void notifyIdle(NSNotificationQueue *q)
RELEASE(notification);
RELEASE(modes);
NSZoneFree(((accessQueue)q)->zone, item);
/*
* Post all ASAP notifications.
*/
GSNotifyASAP();
}
/*
* Post all ASAP notifications.
*/
notifyASAP(q);
}
void