Message197307
| Author |
pitrou |
| Recipients |
Tamas.K, bkabrda, csernazs, grahamd, jcea, koobs, ncoghlan, neologix, pitrou, python-dev, tim.peters |
| Date |
2013年09月08日.18:18:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1378664329.3251.14.camel@fsol> |
| In-reply-to |
<1378664182.39.0.963065546725.issue18808@psf.upfronthosting.co.za> |
| Content |
> Without _stopped, join() can simply wait to acquire _tstate_lock (with
> or without a timeout, and skipping this if _tstate_lock is already
> None). Etc ;-) Of course details matter, but it's easy. I did it
> once, but the tests joining the main thread failed and I put the code
> on hold.
Ah, of course. The main thread needs the event, since the thread state
will only be deleted at the end of Py_Finalize().
The MainThread class could override is_alive() and join(), then. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月08日 18:18:53 | pitrou | set | recipients:
+ pitrou, tim.peters, jcea, csernazs, ncoghlan, grahamd, neologix, python-dev, bkabrda, koobs, Tamas.K |
| 2013年09月08日 18:18:52 | pitrou | link | issue18808 messages |
| 2013年09月08日 18:18:52 | pitrou | create |
|