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 #24735 is a reply to message #24734] Fri, 29 January 2010 00:22 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
2 cores here, one needs to playe something with the element, dragging it in the tree without release, it does not hang immediately. slows down, later it hangs. sometimes it hangs as soon as released.

this is really weired. i was trying to investigate what kind of mutexes are involved. there is the NonMainMutex, sGLock, and also one needs to consider the semaphore wait in ICall interface. maybe the threads just inject themselves at a point when calling Refresh and locking GuiLock, not beeing able to continue doe to wait for semaphore of ICall, which is released after completion of ICall in main thread, which in turn cant complete the call, cause the DragAndDrop thing is doing a release LeaveGMutexAll, performing the draganddrop and not beeing able to EnterGMutex(level) anymore, cause one of the worker threads has started something. but there you also do a leave/wait for semaphore/enter, so GuiLock is not aquired there. man, no idea Smile

i'll watch on that, thanks

BTW: have you spent any thoughts on integrating the high performance stuff of completion ports for sockets/files, both on win32 and linux (real kernel aio, not the posix indermediate rubish)?
 
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: Fri May 10 19:55:03 CEST 2024

Total time taken to generate the page: 0.01833 seconds