Message296623
| Author |
serhiy.storchaka |
| Recipients |
kristjan.jonsson, pitrou, serhiy.storchaka, vstinner |
| Date |
2017年06月22日.11:48:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1498132087.81.0.744790211848.issue30727@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I still didn't see a code, but perhaps we could use a spin-lock. Every child thread increases the global counter, and the main thread waits until the counter equal to the number of child threads (sleeping for short time in a loop) before calling notify(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年06月22日 11:48:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, kristjan.jonsson, vstinner |
| 2017年06月22日 11:48:07 | serhiy.storchaka | set | messageid: <1498132087.81.0.744790211848.issue30727@psf.upfronthosting.co.za> |
| 2017年06月22日 11:48:07 | serhiy.storchaka | link | issue30727 messages |
| 2017年06月22日 11:48:07 | serhiy.storchaka | create |
|