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 » Need a suggestion about mouse processing inside threads
Re: Need a suggestion about mouse processing inside threads [message #34817 is a reply to message #34815] Tue, 13 December 2011 17:53 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
I guess it's not so simple.... What about mouse events ?
They come from main thread, go into view (which belongs to document running its own thread) and calls document functions asynchronously.

I say that because I tested it and it behaves quite weird.

By now I'm trying to re-direct all gui events from main thread into a FIFO inside each document, which is then processed synchronously by document thread.... Still don't know if it will work as I expect. I see the matter quite tricky....

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multi-Thread Critial Section Problem
Next Topic: Htmls / HtamlTag class and table generation
Goto Forum:
  


Current Time: Thu May 09 16:44:14 CEST 2024

Total time taken to generate the page: 0.03422 seconds