Overview
Comment: | Move OFAtomic.h variants to src/platform |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1aedad1588760121a24b1a43ebab75cd |
User & Date: | js on 2021-05-01 03:21:07 |
Other Links: | manifest | tags |
Context
2021-05-01
| ||
03:26 | Update buildsys check-in: 912f35f319 user: js tags: trunk | |
03:21 | Move OFAtomic.h variants to src/platform check-in: 1aedad1588 user: js tags: trunk | |
03:02 | Rename directories in src/platform check-in: 4a6e3b42f5 user: js tags: trunk | |
Changes
Modified src/Makefile from [9ab2936435] to [89f588f854].
︙ | |||
149 150 151 152 153 154 155 | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | - - - - + + + + - - + | OFRecursiveMutex.m \ OFTLSKey.m \ OFThreadPool.m SRCS_WINDOWS = OFWin32ConsoleStdIOStream.m \ OFWindowsRegistryKey.m INCLUDES_ATOMIC = OFAtomic.h \ |
︙ |
Modified src/OFAtomic.h from [113d14691a] to [cd35260cdb].
︙ | |||
18 19 20 21 22 23 24 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + | #import "macros.h" #ifndef OF_HAVE_ATOMIC_OPS # error No atomic operations available! #endif #if !defined(OF_HAVE_THREADS) static OF_INLINE int OFAtomicIntAdd(volatile int *_Nonnull p, int i) { return (*p += i); } |
Deleted src/OFAtomic_no_threads.h version [bc682f9d95].
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
|
Modified src/module.modulemap from [4964b69439] to [33c24fc753].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - - - + + + + - - + | framework module ObjFW { umbrella header "ObjFW.h" /* * These are included by OFAtomic.h, but should never be included * directly. */ |
Name change from src/OFAtomic_builtins.h to src/platform/GCC4.7/OFAtomic.h.
︙ |
Name change from src/OFAtomic_sync_builtins.h to src/platform/GCC4/OFAtomic.h.
︙ |
Name change from src/OFAtomic_powerpc.h to src/platform/PowerPC/OFAtomic.h.
︙ |
Name change from src/OFAtomic_osatomic.h to src/platform/macOS/OFAtomic.h.
︙ |
Name change from src/OFAtomic_x86.h to src/platform/x86/OFAtomic.h.
︙ |