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 #57810 is a reply to message #57804] Sat, 18 December 2021 21:21 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
OK. What am I missing here?

AFAIK,

- CoDo() function is blocking, i.e. it will wait for the threads to join, before it exits.
- CoDo() calls CoWork::Loop(). The API document states that:

Schedules fn to be run on all worker threads and on calling thread. After the first thread returns from fn, all other scheduled fn jobs that has not started yet are unscheduled. Waits for all started jobs to finish.


Best regards,
Oblivion


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


Current Time: Mon May 13 23:43:20 CEST 2024

Total time taken to generate the page: 0.02593 seconds