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 » DnD hangs in MT Refresh()ing
Re: DnD hangs in MT Refresh()ing [message #24758 is a reply to message #24757] Fri, 29 January 2010 13:21 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13979
Registered: November 2005
Ultimate Member
kohait00 wrote on Fri, 29 January 2010 07:08

GOOOD NEWS mirek...it works Smile for me !! but not for the CoWork

i tested my software under pretty heavy conditions. my software does NOT hang. thanks a LOT!! that's driven me crazy a week now.



Glad to hear that. This stuff is really complicated...

Quote:


i should have provided you the info that in deed, the worker threads perform a long enough task on the gui, just like you guessed. sorry for that. i think this will become a patch. are there any drawbacks on that? performance hits, deadlock potentials? (the more mutexes one uses Smile



If there is any performance impact, it is negligible. And race conditions are bugs in any case! Incorrect code has to be fixed.

Quote:


but the CoWork test has failed. it seems to have another problem in CoWork anyway, cause one can still click and see the title change the caption, so the message queue is runnning.

i could not grasp the exact error there, have you been able to reproduce the hang in the custom CoWork??



Unfortunately, no. Frankly, this use of CoWork is very weird, but I understand it is just testcase.

In any case, the exit strategy of this testcase is invalid - it freezes on close and rightfully so. But that is another issue, I guess...

Quote:


interestingly enough, when the test application "freezes", it seems only the worker threads freeze, as soon as you change the size of the window or minimize/maximize, it continues again.
just go on posting Smile if you cant reproduce it. ill try it here.



Yes, I cannot reproduce it... Sad

Mirek
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MT with speed optimization fails
Next Topic: what about WorkQueue : public CoWork
Goto Forum:
  


Current Time: Mon May 13 03:49:10 CEST 2024

Total time taken to generate the page: 0.03611 seconds