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++ Core » multithread access to the same control
Re: multithread access to the same control [message #799 is a reply to message #777] Thu, 02 February 2006 23:31 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
A very good idea.

I have spent all the evening working on it Smile

There were two problems with original example:

* I think that it is quite error-prone to run several threads in single instance. Chances that you make unserialized access to some member variable are high

* However, the more serious problem is with application exit. When you press Close button, chances are that thread will be running and will invoke dangling callback.

I have tried to fix both and to improve the example (using uint64 etc...) - it is now in "reference".

Mirek
  • Attachment: GuiMT.zip
    (Size: 1.44KB, Downloaded 1695 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: regex (assembly) from boost
Next Topic: storing my struct in a Value
Goto Forum:
  


Current Time: Mon Aug 18 00:44:59 CEST 2025

Total time taken to generate the page: 0.01596 seconds