Overview
Comment: | OFThread: Mark the thread block nullable |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.90 |
Files: | files | file ages | folders |
SHA3-256: |
ead26485f6dbc0bcbf90ead012a3d980 |
User & Date: | js on 2017-10-07 10:50:16 |
Other Links: | branch diff | manifest | tags |
Context
2017-10-07
| ||
11:22 | OFThread: Fix the name accidentally being readonly check-in: 83c4d83c7d user: js tags: 0.90 | |
10:50 | OFThread: Mark the thread block nullable check-in: ead26485f6 user: js tags: 0.90 | |
10:46 | OFThread: Fix setting the name on the wrong thread check-in: 1d0042a040 user: js tags: 0.90 | |
Changes
Modified src/OFThread.h from [c358f93979] to [24f32e5db8].
︙ | ︙ | |||
64 65 66 67 68 69 70 | enum of_thread_running { OF_THREAD_NOT_RUNNING, OF_THREAD_RUNNING, OF_THREAD_WAITING_FOR_JOIN } _running; void *_pool; # ifdef OF_HAVE_BLOCKS | | > | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | enum of_thread_running { OF_THREAD_NOT_RUNNING, OF_THREAD_RUNNING, OF_THREAD_WAITING_FOR_JOIN } _running; void *_pool; # ifdef OF_HAVE_BLOCKS of_thread_block_t _Nullable _threadBlock; # endif id _returnValue; OFRunLoop *_Nullable _runLoop; OFMutableDictionary *_threadDictionary; @private OFString *_Nullable _name; } /*! * The name for the thread to use when starting it. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *name; # ifdef OF_HAVE_BLOCKS /*! * The block to execute in the thread. */ @property OF_NULLABLE_PROPERTY (readonly, nonatomic) of_thread_block_t threadBlock; # endif /*! * @brief Creates a new thread. * * @return A new, autoreleased thread */ |
︙ | ︙ |