Skip to content

Commit 430629b

Browse files
committed
Note deprecation of old locking stuff
1 parent 1e0023d commit 430629b

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

Documentation/ReleaseNotes.gsdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ notice and this notice are preserved.
7373
NSURLSession many bugfixes and improvements<br>
7474
NSUserDefaults fix potential deadlock<br>
7575
NSXMLElement bugfix to remove previous attributes when setting attributes.<br>
76-
NSXMLNode returns NSError on failure to evaluate xpath expression.
77-
76+
NSXMLNode returns NSError on failure to evaluate xpath expression.<br>
77+
gnustep_global_lock and GSLazyLock deprecated for removal in next release.
7878
</section>
7979

8080
<section>

Documentation/news.texi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ See the @url{ReleaseNotes.html} document for more information.
5858
@item NSUserDefaults fix potential deadlock
5959
@item NSXMLElement bugfix to remove previous attributes when setting attributes.
6060
@item NSXMLNode returns NSError on failure to evaluate xpath expression.
61+
@item gnustep_global_lock and GSLazyLock deprecated for removal in next release.
6162

6263
@end itemize
6364

Headers/Foundation/NSObject.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,8 @@ NSIncrementExtraRefCount(id anObject);
502502

503503
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
504504

505-
/** Global lock to be used by classes when operating on any global
506-
data that invoke other methods which also access global; thus,
507-
creating the potential for deadlock. */
505+
/** DEPRECATED to be removed in next release.
506+
*/
508507
GS_EXPORT NSRecursiveLock *gnustep_global_lock;
509508

510509
@interface NSObject (NEXTSTEP)

Headers/GNUstepBase/GSLock.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ extern "C" {
4242

4343
@class NSNotification;
4444

45+
/** DEPRECATED ... to be removed in next release
46+
*/
4547
GS_EXPORT_CLASS
4648
@interface GSLazyLock : NSLock
4749
{
@@ -58,9 +60,8 @@ GS_EXPORT_CLASS
5860
- (void) _becomeThreaded: (NSNotification*)n;
5961
@end
6062

61-
/** Global lock to be used by classes when operating on any global
62-
data that invoke other methods which also access global; thus,
63-
creating the potential for deadlock. */
63+
/** DEPRECATED ... to be removed in next release
64+
*/
6465
GS_EXPORT NSRecursiveLock *gnustep_global_lock;
6566

6667
#if defined(__cplusplus)

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ The currently released version of the library is '1.30.0'.
6565
* NSXMLElement bugfix to remove previous attributes when setting
6666
attributes.
6767
* NSXMLNode returns NSError on failure to evaluate xpath expression.
68+
* gnustep_global_lock and GSLazyLock deprecated for removal in next
69+
release.
6870

6971
1.2 Noteworthy changes in version '1.29.0'
7072
==========================================

0 commit comments

Comments
 (0)