mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -201,7 +201,7 @@ MFINALIZE
|
|||
{
|
||||
if (0 != pthread_mutex_init(&_mutex, &attr_reporting))
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
self = nil;
|
||||
}
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ MFINALIZE
|
|||
{
|
||||
if (0 != pthread_mutex_init(&_mutex, &attr_recursive))
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
self = nil;
|
||||
}
|
||||
}
|
||||
|
@ -293,13 +293,13 @@ MDESCRIPTION
|
|||
}
|
||||
if (0 != pthread_cond_init(&_condition, NULL))
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
if (0 != pthread_mutex_init(&_mutex, &attr_reporting))
|
||||
{
|
||||
pthread_cond_destroy(&_condition);
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
return self;
|
||||
|
@ -383,7 +383,7 @@ MUNLOCK
|
|||
}
|
||||
if (nil == (_condition = [NSCondition new]))
|
||||
{
|
||||
[self release];
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
_condition_value = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue