Comment: | Split threading.[hm] into multiple files
This allows the runtime to only link against the parts it needs, without |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5358e9ea6ac164a89342237f61d88849 |
User & Date: | js on 2019-08-01 20:14:35 |
Other Links: | manifest | tags |
2019-08-01
| ||
20:49 | .travis.yml: Update environments check-in: 1b5cca4b91 user: js tags: trunk | |
20:14 | Split threading.[hm] into multiple files check-in: 5358e9ea6a user: js tags: trunk | |
2019-07-28
| ||
12:32 | OFThread: Don't require of_thread_exit() check-in: b5430ac44f user: js tags: trunk | |
Modified src/Makefile from [a542ed1b69] to [79f960eb72].
︙ | |||
117 118 119 120 121 122 123 124 125 126 127 128 129 130 | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | + | OFZIPArchiveEntry.m \ base64.m \ crc16.m \ crc32.m \ huffman_tree.m \ of_asprintf.m \ of_strptime.m \ once.m \ pbkdf2.m \ scrypt.m \ ${UNICODE_M} \ ${USE_SRCS_FILES} \ ${USE_SRCS_PLUGINS} \ ${USE_SRCS_SOCKETS} \ ${USE_SRCS_THREADS} \ |
︙ | |||
147 148 149 150 151 152 153 | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | + + - + + | OFTCPSocket.m \ OFUDPSocket.m \ socket.m SRCS_THREADS = OFCondition.m \ OFMutex.m \ OFRecursiveMutex.m \ OFThreadPool.m \ condition.m \ mutex.m \ |
︙ |
Modified src/OFAutoreleasePool.m from [8f3a2dc0ae] to [966b634bbb].
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + | #include "config.h" #import "OFAutoreleasePool.h" #import "OFAutoreleasePool+Private.h" #if !defined(OF_HAVE_COMPILER_TLS) && defined(OF_HAVE_THREADS) |
︙ |
Modified src/OFBlock.m from [4165d94e90] to [acebb38475].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | # import "runtime/private.h" #endif #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #ifdef OF_HAVE_THREADS |
︙ |
Modified src/OFCondition.h from [f84c7704e4] to [d32472266f].
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | + + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFMutex.h" #import "condition.h" OF_ASSUME_NONNULL_BEGIN @class OFDate; /*! * @class OFCondition OFCondition.h ObjFW/OFCondition.h |
︙ |
Modified src/OFMutex.h from [f9e2027d27] to [4b8e64a2be].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | - + | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" #import "OFLocking.h" |
︙ |
Modified src/OFObject.m from [9fed2e9f2d] to [ea3b6b261c].
︙ | |||
56 57 58 59 60 61 62 | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - + | #import "OFString.h" #import "instance.h" #if defined(OF_HAVE_ATOMIC_OPS) # import "atomic.h" #elif defined(OF_HAVE_THREADS) |
︙ |
Modified src/OFRecursiveMutex.h from [f7e792d83e] to [f3a0853f17].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | - + | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" #import "OFLocking.h" |
︙ |
Modified src/OFSecureData.m from [e075377cde] to [fa28a56f57].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" #import "OFOutOfMemoryException.h" #import "OFOutOfRangeException.h" #ifdef OF_HAVE_THREADS |
︙ |
Modified src/OFSystemInfo.m from [9a78967309] to [f7d600acca].
︙ | |||
48 49 50 51 52 53 54 | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | - - + - | #import "OFArray.h" #import "OFDictionary.h" #import "OFLocale.h" #import "OFString.h" #import "OFNotImplementedException.h" |
︙ | |||
338 339 340 341 342 343 344 | 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | - - - - - - - - - - - - - - - - | + (unsigned int)ObjFWVersionMinor { return OBJFW_VERSION_MINOR; } + (OFString *)operatingSystemName { |
︙ |
Modified src/OFThread.h from [deb7104407] to [dc390a6e23].
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | - + | */ #include <setjmp.h> #import "OFObject.h" #ifdef OF_HAVE_THREADS |
︙ |
Modified src/OFThread.m from [0906d8e684] to [6c09ccf959].
︙ | |||
105 106 107 108 109 110 111 | 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | - + | if (DOSBase != NULL) CloseLibrary(DOSBase); } #endif #if defined(OF_HAVE_THREADS) |
︙ |
Modified src/ObjFW.h from [927e22debb] to [a9de46c0be].
︙ | |||
241 242 243 244 245 246 247 248 | 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | + - + + + | #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #import "OFLocking.h" #import "OFThread.h" #import "once.h" #ifdef OF_HAVE_THREADS |
︙ |
Modified src/autorelease.m from [5ee0c99289] to [b0d97cac69].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + | #include <stdio.h> #include <stdlib.h> #import "OFObject.h" #import "OFSystemInfo.h" #if !defined(OF_HAVE_COMPILER_TLS) && defined(OF_HAVE_THREADS) |
︙ |
Added src/condition.h version [d4d414aa35].
|
Added src/condition.m version [2ae0545ef5].
|
Added src/condition_pthread.m version [953df43013].
|
Added src/condition_winapi.m version [c7f4f2bb50].