Overview
Comment: | Prevent starting a thread twice. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8135be3b0f578f9a562be9f8eda59291 |
User & Date: | js on 2010-04-10 23:10:32 |
Other Links: | manifest | tags |
Context
2010-04-10
| ||
23:52 | Add +[stringWithPath:] to OFString. check-in: 48190e2a91 user: js tags: trunk | |
23:10 | Prevent starting a thread twice. check-in: 8135be3b0f user: js tags: trunk | |
22:33 | There was no real reason to rename -[main] to -[run]. Undo it. check-in: 663f63e55a user: js tags: trunk | |
Changes
Modified src/OFThread.m from [935cd4400e] to [6d271824f0].
︙ | |||
160 161 162 163 164 165 166 167 168 169 170 171 172 173 | 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | + + + | - (void)handleTermination { } - start { if (running == OF_THREAD_RUNNING) @throw [OFThreadStillRunningException newWithClass: isa]; [self retain]; if (!of_thread_new(&thread, call_main, self)) { [self release]; @throw [OFThreadStartFailedException newWithClass: isa]; } |
︙ |