Home » Community » Coffee corner » Quiz #4
|
|
|
|
Re: Quiz #4 [message #57811 is a reply to message #57810] |
Sun, 19 December 2021 09:28 |
|
mirek
Messages: 14038 Registered: November 2005
|
Ultimate Member |
|
|
You are not completely wrong.
1 really is the most probable result with current implementation. This is basically pure race condition - how many worker threads will CoDo unblock until it registers that first of them finished.
Anyway, INT_MAX is definitely a little bit high - the teoretical maximum is the number of worker threads.
Mirek
[Updated on: Sun, 19 December 2021 09:29] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Sep 20 04:14:16 CEST 2024
Total time taken to generate the page: 0.02702 seconds
|