ObjFW  Diff

Differences From 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...]

To Artifact [d76330f616]:


124
125
126
127
128
129
130

131
132
133
134
135
136
137

#import "OFApplication.h"
#import "OFSystemInfo.h"
#import "OFLocale.h"
#import "OFOptionsParser.h"
#import "OFTimer.h"
#import "OFRunLoop.h"


#ifdef OF_WINDOWS
# import "OFWindowsRegistryKey.h"
#endif

#import "OFAllocFailedException.h"
#import "OFException.h"







>







124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

#import "OFApplication.h"
#import "OFSystemInfo.h"
#import "OFLocale.h"
#import "OFOptionsParser.h"
#import "OFTimer.h"
#import "OFRunLoop.h"
#import "OFSandbox.h"

#ifdef OF_WINDOWS
# import "OFWindowsRegistryKey.h"
#endif

#import "OFAllocFailedException.h"
#import "OFException.h"
207
208
209
210
211
212
213

214
215
216
217
218
219
220
#import "OFReadFailedException.h"
#import "OFReadOrWriteFailedException.h"
#import "OFRemoveItemFailedException.h"
#ifdef OF_HAVE_SOCKETS
# import "OFResolveHostFailedException.h"
#endif
#import "OFRetrieveItemAttributesFailedException.h"

#import "OFSeekFailedException.h"
#import "OFSetItemAttributesFailedException.h"
#import "OFSetOptionFailedException.h"
#ifdef OF_WINDOWS
# import "OFSetWindowsRegistryValueFailedException.h"
#endif
#import "OFStillLockedException.h"







>







208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
#import "OFReadFailedException.h"
#import "OFReadOrWriteFailedException.h"
#import "OFRemoveItemFailedException.h"
#ifdef OF_HAVE_SOCKETS
# import "OFResolveHostFailedException.h"
#endif
#import "OFRetrieveItemAttributesFailedException.h"
#import "OFSandboxActivationFailedException.h"
#import "OFSeekFailedException.h"
#import "OFSetItemAttributesFailedException.h"
#import "OFSetOptionFailedException.h"
#ifdef OF_WINDOWS
# import "OFSetWindowsRegistryValueFailedException.h"
#endif
#import "OFStillLockedException.h"