gnustep-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnustep-cvs] Thread safety fix ... ensure notifications are sent before


From: Richard Frith-Macdonald <address@hidden>
Subject: [Gnustep-cvs] Thread safety fix ... ensure notifications are sent before we become [...]
Date: Tue, 30 Sep 2003 14:19:25 -0400

Commit from CaS 2003-09-30 14:19 EDT
Thread safety fix ... ensure notifications are sent before we become
multithrteaded.
Module File name Revision
gnustep core/base/ChangeLog 1.2001 >>> 1.2002
gnustep core/base/Source/NSThread.m 1.72 >>> 1.73

gnustep/core/base/ChangeLog   1.2001 >>> 1.2002
Line 1
+ 2003-09-30  Richard Frith-Macdonald <address@hidden>
+
+ * Source/NSThread.m: Protect the function handling notification
+ of the process becoming multi-threaded with a recursive lock.
+ This protection ensures that there is no race condition where
+ two threads can start using GNUstep simultaneously and both
+ end up sending out notifications etc.  Not a problem in normal
+ ObjC applications, but a possibility where other non-gnustep
+ code starts multiple threads which want to access gnustep.
+
  2003-09-30  Derek Zhou <address@hidden>
 
  * Source/NSCharacterSet.m: patch to ensure lock is created as



reply via email to

[Prev in Thread] Current Thread [Next in Thread]