Differences From Artifact [a5b00a027c]:
- File
src/OFMutex.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 1742) [annotate] [blame] [check-ins using]
To Artifact [fcee48ecda]:
- File
src/OFMutex.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 1743) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
71 72 73 74 75 76 77 |
- (void)unlock
{
if (!of_mutex_unlock(&_mutex))
@throw [OFUnlockFailedException exceptionWithLock: self];
}
| | | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
- (void)unlock
{
if (!of_mutex_unlock(&_mutex))
@throw [OFUnlockFailedException exceptionWithLock: self];
}
- (OFString *)description
{
if (_name == nil)
return [super description];
return [OFString stringWithFormat: @"<%@: %@>",
[self className], _name];
}
@end
|