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 #763 is a reply to message #759] Tue, 31 January 2006 15:35 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Well, multithreading model is quite simple:

GUI must runs in single thread and is not serialized.

What IS serialized (locked) is "timer" queue (" because it is in fact used for many other things as well). Means you can safely post callbacks to GUI thread.

Also, Core types ARE serialized.

So the right thing to do is to run HttpClient in different threads (I hope Tom will protest here if there is any problem with it, but I do not thing so) and update your ArrayCtrl using PostCallback.

Multithreading support is available in Unix (but is tested even less than the one on Win32... in fact I doubt that any U++ app ever run on real multiprocessor machine, and until then, some problems might be left unrevealed).

Mirek
 
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: Sun Aug 17 17:12:22 CEST 2025

Total time taken to generate the page: 0.05867 seconds