Differences From Artifact [3fc1c7c412]:
- File
src/OFThread.m
— part of check-in
[1a502ac38c]
at
2017-10-07 15:14:19
on branch 0.90
— OFThread: Fix setting the name on the wrong thread
This time for real. (user: js, size: 8775) [annotate] [blame] [check-ins using]
To Artifact [a4d40e057a]:
- File src/OFThread.m — part of check-in [c6e0123999] at 2017-11-04 20:56:43 on branch 0.90 — +[OFThread threadDictionary]: Handle nil thread (user: js, size: 8810) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
171 172 173 174 175 176 177 178 179 180 181 182 183 184 | { return mainThread; } + (OFMutableDictionary *)threadDictionary { OFThread *thread = of_tlskey_get(threadSelfKey); if (thread->_threadDictionary == nil) thread->_threadDictionary = [[OFMutableDictionary alloc] init]; return thread->_threadDictionary; } #endif | > > > | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | { return mainThread; } + (OFMutableDictionary *)threadDictionary { OFThread *thread = of_tlskey_get(threadSelfKey); if (thread == nil) return nil; if (thread->_threadDictionary == nil) thread->_threadDictionary = [[OFMutableDictionary alloc] init]; return thread->_threadDictionary; } #endif |
︙ | ︙ |