Differences From Artifact [cf323057cd]:
- File
src/OFTLSKey.h
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 1710) [annotate] [blame] [check-ins using]
To Artifact [403dd472bf]:
- File src/OFTLSKey.h — part of check-in [7e5de0a086] at 2013-07-24 11:49:30 on branch trunk — Improve documentation. (user: js, size: 1822) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
43 44 45 46 47 48 49 | * @return A new, autoreleased Thread Local Storage key */ + (instancetype)TLSKey; /*! * @brief Creates a new Thread Local Storage key with the specified destructor. * | | > | > | 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | * @return A new, autoreleased Thread Local Storage key */ + (instancetype)TLSKey; /*! * @brief Creates a new Thread Local Storage key with the specified destructor. * * @param destructor A destructor that is called when a thread is terminated. * The argument for the destructor is the TLS key. * @return A new autoreleased Thread Local Storage key */ + (instancetype)TLSKeyWithDestructor: (void(*)(id))destructor; + (void)OF_callAllDestructors; /*! * @brief Initializes an already allocated Thread Local Storage Key with the * specified destructor. * * @param destructor A destructor that is called when a thread is terminated. * The argument for the destructor is the TLS key. * @return An initialized Thread Local Storage key */ - initWithDestructor: (void(*)(id))destructor; @end |