Differences From Artifact [5849ea0fbe]:
- File src/OFThread.h — part of check-in [91ccd70c55] at 2010-08-25 11:22:11 on branch trunk — Add warning to doc about collections not retaining and autoreleasing. (user: js, size: 4141) [annotate] [blame] [check-ins using]
To Artifact [cc3937ad7a]:
- File
src/OFThread.h
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 4134) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
83 84 85 86 87 88 89 | * released. You can specify nil as object if you want the old object to be * released and don't want any new object for the TLS key. * * \param key The Thread Local Storage key * \param obj The object the Thread Local Storage key will be set to * \return The old object, autoreleased */ | | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | * released. You can specify nil as object if you want the old object to be * released and don't want any new object for the TLS key. * * \param key The Thread Local Storage key * \param obj The object the Thread Local Storage key will be set to * \return The old object, autoreleased */ + (id)setObject: (id)obj forTLSKey: (OFTLSKey*)key; /** * Returns the object for the specified Thread Local Storage key. * * The returned object is <i>not</i> retained and autoreleased for performance * reasons! |
︙ | ︙ |