Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Quiz #4
Re: Quiz #4 [message #57811 is a reply to message #57810] Sun, 19 December 2021 09:28 Go to previous message
mirek is currently offline  mirek
Messages: 13980
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Little Quiz
Next Topic: Quiz #3
Goto Forum:
  


Current Time: Wed May 15 00:29:51 CEST 2024

Total time taken to generate the page: 0.02470 seconds