Overview
Comment: | Minor fix for -[join] in OFThread.
We also want to be able to join a thread that is still running, this |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
cc17787021a348db0010fbc178ce3070 |
User & Date: | js on 2010-04-10 21:43:47 |
Other Links: | manifest | tags |
Context
2010-04-10
| ||
21:49 | Retain the thread in -[start] first to prevent a race condition. check-in: 82fe4443e2 user: js tags: trunk | |
21:43 | Minor fix for -[join] in OFThread. check-in: cc17787021 user: js tags: trunk | |
21:37 | Don't set errno in sockets on Win32. check-in: 1e35805366 user: js tags: trunk | |
Changes
Modified src/OFThread.m from [4081c149ee] to [12d687f3c9].
︙ | |||
146 147 148 149 150 151 152 | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | - + | [self retain]; return self; } - (id)join { |
︙ |
Modified tests/OFThreadTests.m from [0e44f6026c] to [1c2bd09aff].
︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + | OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; TestThread *t; OFTLSKey *key; TEST(@"+[threadWithObject:]", (t = [TestThread threadWithObject: @"foo"])) |
︙ |