Differences From Artifact [8d6289db16]:
- File
src/OFThread.m
— part of check-in
[da2701ad14]
at
2011-07-17 01:55:16
on branch trunk
— Define __NO_EXT_QNX in files using unistd.h or fcntl.h.
Without this, the headers try to declare functions that use __block as
an argument name and thus fail to compile when using -fblocks. (user: js, size: 11372) [annotate] [blame] [check-ins using]
To Artifact [28529a39cf]:
- File src/OFThread.m — part of check-in [972a3ee40d] at 2011-09-10 18:36:45 on branch trunk — Remove -[finalize] as ARC will be implemented instead of a GC. (user: js, size: 10380) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
354 355 356 357 358 359 360 | of_thread_detach(thread); [object release]; [returnValue release]; [super dealloc]; } | < < < < < < < < < < < < < < < < | 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | of_thread_detach(thread); [object release]; [returnValue release]; [super dealloc]; } @end @implementation OFTLSKey + (void)initialize { if (self == [OFTLSKey class]) TLSKeys = [[OFList alloc] init]; |
︙ | ︙ | |||
452 453 454 455 456 457 458 | @synchronized (TLSKeys) { [TLSKeys removeListObject: listObject]; } } [super dealloc]; } | < < < < < < < < < < < < < < < < < < | 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | @synchronized (TLSKeys) { [TLSKeys removeListObject: listObject]; } } [super dealloc]; } @end @implementation OFMutex + mutex { return [[[self alloc] init] autorelease]; } |
︙ | ︙ | |||
521 522 523 524 525 526 527 | if (initialized) if (!of_mutex_free(&mutex)) @throw [OFMutexStillLockedException newWithClass: isa mutex: self]; [super dealloc]; } | < < < < < < < < < < | 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | if (initialized) if (!of_mutex_free(&mutex)) @throw [OFMutexStillLockedException newWithClass: isa mutex: self]; [super dealloc]; } @end @implementation OFCondition + condition { return [[[self alloc] init] autorelease]; } |
︙ | ︙ | |||
585 586 587 588 589 590 591 | if (!of_condition_free(&condition)) @throw [OFConditionStillWaitingException newWithClass: isa condition: self]; [super dealloc]; } | < < < < < < < < < < < | 541 542 543 544 545 546 547 548 | if (!of_condition_free(&condition)) @throw [OFConditionStillWaitingException newWithClass: isa condition: self]; [super dealloc]; } @end |