From 91d8c080fc06f4ed5b40646c989f5a511091f664 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Fri, 20 Aug 1999 15:21:59 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ Source/NSNotificationQueue.m | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b83a466a1..f3975920a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald + + * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications + even when no idle notifications are waiting. + 1999-08-19 Michael Hanni * Source/NSObjCRuntime.m: patch from Tim Bissell to help in diff --git a/Source/NSNotificationQueue.m b/Source/NSNotificationQueue.m index 89f831335..e1142effa 100644 --- a/Source/NSNotificationQueue.m +++ b/Source/NSNotificationQueue.m @@ -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 @@ -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