Overview
Comment: | Add -[OFThreadPool size]. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6729a18ba0feb9ebb700b39e7df9e0d1 |
User & Date: | js on 2012-05-18 15:59:29 |
Other Links: | manifest | tags |
Context
2012-05-22
| ||
12:59 | Add -[OFString stringByAppendingPathComponent:]. check-in: 868e1611f4 user: js tags: trunk | |
2012-05-18
| ||
15:59 | Add -[OFThreadPool size]. check-in: 6729a18ba0 user: js tags: trunk | |
2012-04-25
| ||
09:15 | objfw-compile: Allow -std=*. check-in: 74f283ce2a user: js tags: trunk | |
Changes
Modified src/OFThreadPool.h from [2701771c31] to [a3f951f884].
︙ | ︙ | |||
118 119 120 121 122 123 124 125 | object: (id)object; #endif /** * \brief Waits until all threads have finished. */ - (void)waitUntilFinished; @end | > > > > > > > | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | object: (id)object; #endif /** * \brief Waits until all threads have finished. */ - (void)waitUntilFinished; /** * \brief Returns the size of the thread pool. * * \return The size of the thread pool */ - (size_t)size; @end |
Modified src/OFThreadPool.m from [7cccc445b9] to [59038be60b].
︙ | ︙ | |||
379 380 381 382 383 384 385 386 | - (void)dispatchWithBlock: (of_thread_pool_block_t)block object: (id)object { [self _dispatchJob: [OFThreadPoolJob jobWithBlock: block object: object]]; } #endif @end | > > > > > | 379 380 381 382 383 384 385 386 387 388 389 390 391 | - (void)dispatchWithBlock: (of_thread_pool_block_t)block object: (id)object { [self _dispatchJob: [OFThreadPoolJob jobWithBlock: block object: object]]; } #endif - (size_t)size { return size; } @end |