Differences From Artifact [2dc62c0de7]:
- File
src/OFThread.h
— part of check-in
[4d18a4b596]
at
2012-07-03 15:49:37
on branch trunk
— Use the copy attribute in properties for blocks.
Newer clang versions don't allow the retain attribute for blocks
anymore. (user: js, size: 7294) [annotate] [blame] [check-ins using]
To Artifact [51a42ce92e]:
- File src/OFThread.h — part of check-in [6069030651] at 2012-08-05 17:34:39 on branch trunk — Add OFRecursiveMutex class. (user: js, size: 7458) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
281 282 283 284 285 286 287 288 289 290 291 292 293 294 | /** * \brief Unlocks the mutex. */ - (void)unlock; @end /** * \brief A class implementing a condition variable for thread synchronization. */ @interface OFCondition: OFMutex { of_condition_t condition; BOOL conditionInitialized; | > > > > > > > > > > | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | /** * \brief Unlocks the mutex. */ - (void)unlock; @end /** * \brief A class for creating mutual exclusions which can be entered * recursively. */ @interface OFRecursiveMutex: OFMutex { of_rmutex_t rmutex; } @end /** * \brief A class implementing a condition variable for thread synchronization. */ @interface OFCondition: OFMutex { of_condition_t condition; BOOL conditionInitialized; |
︙ | ︙ |