Differences From Artifact [a10047f5e7]:
- File
src/OFThread.m
— part of check-in
[45b499fb11]
at
2011-09-22 02:20:18
on branch trunk
— Use rint() instead of nearbyint().
nearbyint() is missing on some systems, even though it is part of C99
and POSIX. (user: js, size: 9663) [annotate] [blame] [check-ins using]
To Artifact [b865223801]:
- File
src/OFThread.m
— part of check-in
[2e484248de]
at
2011-09-22 12:09:34
on branch trunk
— Make it impossible to add objects to arbitrary autorelease pools.
This is almost never done, and was made impossible in ARC-compatible
code. (user: js, size: 9665) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
83 84 85 86 87 88 89 | #endif [thread handleTermination]; thread->running = OF_THREAD_WAITING_FOR_JOIN; [OFTLSKey callAllDestructors]; | | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | #endif [thread handleTermination]; thread->running = OF_THREAD_WAITING_FOR_JOIN; [OFTLSKey callAllDestructors]; [OFAutoreleasePool _releaseAll]; [thread release]; #if defined(OF_GNU_RUNTIME) || defined(OF_OLD_GNU_RUNTIME) objc_thread_remove(); #endif |
︙ | ︙ | |||
218 219 220 221 222 223 224 | [thread handleTermination]; thread->running = OF_THREAD_WAITING_FOR_JOIN; } [OFTLSKey callAllDestructors]; | | | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | [thread handleTermination]; thread->running = OF_THREAD_WAITING_FOR_JOIN; } [OFTLSKey callAllDestructors]; [OFAutoreleasePool _releaseAll]; [thread release]; #if defined(OF_GNU_RUNTIME) || defined(OF_OLD_GNU_RUNTIME) objc_thread_remove(); #endif |
︙ | ︙ |