Differences From Artifact [1463e20e85]:
- File src/ObjFW.h — part of check-in [36669d22b4] at 2021-04-07 21:18:26 on branch 1.0 — Merge trunk into 1.0 branch (user: js, size: 6768) [annotate] [blame] [check-ins using] [more...]
To Artifact [2e31ed4971]:
- File
src/ObjFW.h
— part of check-in
[116375820d]
at
2021-04-08 01:33:41
on branch 1.0
— Add back OFThreadPool
While something similar can be achieved by spawning OFThreads and
dispatching to their run loops, this means dispatching work to a
specific thread, while OFThreadPool will create a pool of threads and
not assign any job to a specific thread - instead, the first thread to
become ready will pick up the next job until there's no work left. (user: js, size: 6794) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
245 246 247 248 249 250 251 252 253 254 255 256 257 258 | #import "OFThread.h" #import "once.h" #ifdef OF_HAVE_THREADS # import "thread.h" # import "tlskey.h" # import "mutex.h" # import "condition.h" # import "OFMutex.h" # import "OFRecursiveMutex.h" # import "OFCondition.h" #endif #import "base64.h" #import "crc16.h" | > | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | #import "OFThread.h" #import "once.h" #ifdef OF_HAVE_THREADS # import "thread.h" # import "tlskey.h" # import "mutex.h" # import "condition.h" # import "OFThreadPool.h" # import "OFMutex.h" # import "OFRecursiveMutex.h" # import "OFCondition.h" #endif #import "base64.h" #import "crc16.h" |
︙ | ︙ |