Message296623
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(). |
|
| 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: <[email protected]> |
| 2017-06-22 11:48:07 | serhiy.storchaka | link | issue30727 messages |
| 2017-06-22 11:48:07 | serhiy.storchaka | create | |
|