Note deprecation of old locking stuff

This commit is contained in:
rfm 2024-05-27 07:57:03 +01:00
parent 1e0023dc43
commit 430629b097
5 changed files with 11 additions and 8 deletions

View file

@ -73,8 +73,8 @@ notice and this notice are preserved.
NSURLSession many bugfixes and improvements<br>
NSUserDefaults fix potential deadlock<br>
NSXMLElement bugfix to remove previous attributes when setting attributes.<br>
NSXMLNode returns NSError on failure to evaluate xpath expression.
NSXMLNode returns NSError on failure to evaluate xpath expression.<br>
gnustep_global_lock and GSLazyLock deprecated for removal in next release.
</section>
<section>

View file

@ -58,6 +58,7 @@ See the @url{ReleaseNotes.html} document for more information.
@item NSUserDefaults fix potential deadlock
@item NSXMLElement bugfix to remove previous attributes when setting attributes.
@item NSXMLNode returns NSError on failure to evaluate xpath expression.
@item gnustep_global_lock and GSLazyLock deprecated for removal in next release.
@end itemize

View file

@ -502,9 +502,8 @@ NSIncrementExtraRefCount(id anObject);
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/** Global lock to be used by classes when operating on any global
data that invoke other methods which also access global; thus,
creating the potential for deadlock. */
/** DEPRECATED to be removed in next release.
*/
GS_EXPORT NSRecursiveLock *gnustep_global_lock;
@interface NSObject (NEXTSTEP)

View file

@ -42,6 +42,8 @@ extern "C" {
@class NSNotification;
/** DEPRECATED ... to be removed in next release
*/
GS_EXPORT_CLASS
@interface GSLazyLock : NSLock
{
@ -58,9 +60,8 @@ GS_EXPORT_CLASS
- (void) _becomeThreaded: (NSNotification*)n;
@end
/** Global lock to be used by classes when operating on any global
data that invoke other methods which also access global; thus,
creating the potential for deadlock. */
/** DEPRECATED ... to be removed in next release
*/
GS_EXPORT NSRecursiveLock *gnustep_global_lock;
#if defined(__cplusplus)

2
NEWS
View file

@ -65,6 +65,8 @@ The currently released version of the library is '1.30.0'.
* NSXMLElement bugfix to remove previous attributes when setting
attributes.
* NSXMLNode returns NSError on failure to evaluate xpath expression.
* gnustep_global_lock and GSLazyLock deprecated for removal in next
release.
1.2 Noteworthy changes in version '1.29.0'
==========================================