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 » MT & File Access
MT & File Access [message #8369] Tue, 06 March 2007 01:23 Go to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
My application is a kind of viewer from files downloaded from the Web.

The GUI thread is the viewer.

There is also an updater thread that check for updates.

Im my current implementation, the GUI thread read local files written by the updater thread. Reads (GUI) and Writes (updater) are serialized.

I am not sure if this approach is OK:
- the GUI could be writting while the updater is also writting (i.e. Debug log),
- the GUI might be using FindFile while the updater is writting some files.

Is my implmentation right or should I gather all file acceses in a single thread ?

Any help is welcome (I'm new to MT),
Thanks,
Victor
 
Read Message
Read Message
Read Message
Previous Topic: Simulation in its own thread.
Next Topic: SlaveProcess and working directory
Goto Forum:
  


Current Time: Sun May 12 23:32:06 CEST 2024

Total time taken to generate the page: 0.01718 seconds