Overview
Comment: | It's far more likely the lock we search is at the end. Additionally, add tests for objc_sync_*. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4b03ccfe1fb6adbe92d027937ffaed9d |
User & Date: | js on 2009-06-01 01:44:23 |
Other Links: | manifest | tags |
Context
2009-06-01
| ||
01:46 | Copy the object for an OFThread so it's thread-safe. check-in: 9b3d408f0d user: js tags: trunk | |
01:44 |
It's far more likely the lock we search is at the end. Additionally, add tests for objc_sync_*. check-in: 4b03ccfe1f user: js tags: trunk | |
01:31 | Fix recursive locking. check-in: 5bd604a8f8 user: js tags: trunk | |
Changes
Modified TODO from [dd0b2c72a6] to [7841473511].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 | - | Test if autorelease pool releases everything correctly when thread is ended Proper UTF-8 support! |
︙ |
Modified configure.ac from [aedaf8e108] to [b75ed815e1].
︙ | |||
156 157 158 159 160 161 162 163 164 165 166 167 168 169 | 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | + | OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"]) AC_SUBST(NO_CONST_CFSTRINGS) AC_CHECK_HEADER(objc/runtime.h, [AC_DEFINE(HAVE_OBJC_RUNTIME_H, 1, [Whether we have objc/runtime.h])]) AC_CHECK_FUNC(objc_sync_enter,, [ AC_SUBST(OBJC_SYNC, "objc_sync") AC_SUBST(OBJC_SYNC_M, "objc_sync.m") AC_DEFINE(NEED_OBJC_SYNC_INIT, 1, [Whether objc_sync_init needs to be called])]) test x"$GCC" = x"yes" && CFLAGS="$CFLAGS -Werror" if test x"$GOBJC" = x"yes"; then old_OBJCFLAGS="$OBJCFLAGS" |
︙ |
Modified extra.mk.in from [1d1319fdb9] to [f8de6158a0].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 | + | ASPRINTF_C = @ASPRINTF_C@ OBJC_SYNC = @OBJC_SYNC@ OBJC_SYNC_M = @OBJC_SYNC_M@ OFPLUGIN = @OFPLUGIN@ OFPLUGIN_M = @OFPLUGIN_M@ WS2_LIBS = @WS2_LIBS@ TESTS = @TESTS@ TEST_LAUNCHER = @TEST_LAUNCHER@ |
Modified src/objc_sync.m from [469f559547] to [0a8dcabb44].
︙ | |||
127 128 129 130 131 132 133 | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | - + - + | { return (mutex_new(&mutex) ? YES : NO); } int objc_sync_enter(id obj) { |
︙ | |||
211 212 213 214 215 216 217 | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | - + - + | return 0; } int objc_sync_exit(id obj) { |
︙ |
Modified tests/Makefile from [d73d2d7d1e] to [d93b2a7df0].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + + | include ../extra.mk SUBDIRS = OFObject \ OFAutoreleasePool \ OFDataArray \ OFArray \ OFDictionary \ OFHashes \ ${OFPLUGIN} \ OFString \ OFTCPSocket \ OFThread \ OFList \ |
Added tests/objc_sync/Makefile version [71149fcbb2].
|
Added tests/objc_sync/objc_sync.m version [d8413d91c1].
|