mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Change finalization to match MacOS-X
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27581 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
952af9c197
commit
b830b55dee
22 changed files with 116 additions and 95 deletions
|
@ -59,7 +59,7 @@ extern "C" {
|
|||
/**
|
||||
* Simplest lock for protecting critical sections of code.
|
||||
*/
|
||||
@interface NSLock : NSObject <NSLocking, GCFinalization>
|
||||
@interface NSLock : NSObject <NSLocking>
|
||||
{
|
||||
@private
|
||||
void *_mutex;
|
||||
|
@ -103,7 +103,7 @@ extern "C" {
|
|||
* condition is equal to a particular value. The condition is set on
|
||||
* initialization and whenever the lock is relinquished.
|
||||
*/
|
||||
@interface NSConditionLock : NSObject <NSLocking, GCFinalization>
|
||||
@interface NSConditionLock : NSObject <NSLocking>
|
||||
{
|
||||
@private
|
||||
void *_condition;
|
||||
|
@ -195,7 +195,7 @@ extern "C" {
|
|||
* thread must also unlock it (n) times before another thread
|
||||
* can acquire the lock.
|
||||
*/
|
||||
@interface NSRecursiveLock : NSObject <NSLocking, GCFinalization>
|
||||
@interface NSRecursiveLock : NSObject <NSLocking>
|
||||
{
|
||||
@private
|
||||
void *_mutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue