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 » Developing U++ » U++ Developers corner » Ide MT
Re: Ide MT [message #31246 is a reply to message #31243] Wed, 16 February 2011 15:43 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
raxvan wrote on Wed, 16 February 2011 08:08


A thread pool fits perfectly for a variety of use cases. I don't think there will be a problem using a CoWork in a lot of places, as long as the size limitation of the queue is removed. I can see from the implementation the limit is caped to 128 and after that the job will run on the requesting thread.



I believe the limitation is a smart move - 128 work chunks is enough to keep worker threads busy, so main thread can do a work chunk instead of waiting for any worker thread to be available.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BackgroundTask
Next Topic: Linux anti-aliasing fonts problem
Goto Forum:
  


Current Time: Sun Jul 20 14:33:24 CEST 2025

Total time taken to generate the page: 0.00760 seconds