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 » U++ Library support » U++ MT-multithreading and servers » Is there a Threadpool in U++?
Is there a Threadpool in U++? [message #39600] Wed, 03 April 2013 16:05 Go to next message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
Hi everyone!

I was wondering, I need a threadpool for my application, or something samiliar to it. I tried CoWork but it doesn't really work, by means of, when using CoWork, the GUI will still always be unresponsive.

My problem is that I need to divide the scanning of memory blocks into multiple threads, but not more then 3~5 simultaniously.

Can anybody help me out?

Thanks in advance!
Re: Is there a Threadpool in U++? [message #39601 is a reply to message #39600] Wed, 03 April 2013 17:08 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi crydev,

If I remember correctly how CoWork works, then it can be used for what you need. You just have to make sure that GUI can be updated during the computation, e.g. by calling Ctrl::ProcessEvents() in between the iterations. Details depends quite a lot on how exactly you use CoWork.

Best regards,
Honza
Previous Topic: Witz internationalization
Next Topic: Skylark OO (reposted from PM)
Goto Forum:
  


Current Time: Fri Apr 19 21:23:05 CEST 2024

Total time taken to generate the page: 1.12825 seconds