mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
tidy whitespace
This commit is contained in:
parent
21ddc5fefb
commit
1be8a1375a
1 changed files with 4 additions and 5 deletions
|
@ -76,22 +76,22 @@
|
||||||
return done;
|
return done;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)waitUntilDate: (NSDate*)date
|
- (void) waitUntilDate: (NSDate*)date
|
||||||
{
|
{
|
||||||
[condition waitUntilDate: date];
|
[condition waitUntilDate: date];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)lock
|
- (void) lock
|
||||||
{
|
{
|
||||||
[condition lock];
|
[condition lock];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)unlock
|
- (void) unlock
|
||||||
{
|
{
|
||||||
[condition unlock];
|
[condition unlock];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
DESTROY(condition);
|
DESTROY(condition);
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
|
@ -118,7 +118,6 @@ int main(void)
|
||||||
{
|
{
|
||||||
pthread_t thr;
|
pthread_t thr;
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
void *ret;
|
|
||||||
pthread_attr_init(&attr);
|
pthread_attr_init(&attr);
|
||||||
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
||||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue