Differences From Artifact [935cd4400e]:
- File src/OFThread.m — part of check-in [663f63e55a] at 2010-04-10 22:33:03 on branch trunk — There was no real reason to rename -[main] to -[run]. Undo it. (user: js, size: 5295) [annotate] [blame] [check-ins using]
To Artifact [6d271824f0]:
- File src/OFThread.m — part of check-in [8135be3b0f] at 2010-04-10 23:10:32 on branch trunk — Prevent starting a thread twice. (user: js, size: 5391) [annotate] [blame] [check-ins using]
︙ | |||
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]; } |
︙ |