Timeline for N threads enter, one and only one should do extra processing that others wait for
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 17, 2023 at 19:22 | comment | added | Violet Giraffe | This can be solved by an extra thread for sure, and quite easily in terms of how the code would look like, but it's also less efficient. Your second idea is very interesting - designate one thread responsible for the timeout, I have not considered that! | |
| Jan 17, 2023 at 18:07 | history | answered | Pablo H | CC BY-SA 4.0 |