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 » Core multithread dangers
Re: Core multithread dangers [message #836 is a reply to message #835] Fri, 03 February 2006 23:51 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
You are right in some cases, but look better. Many of those are in fact serialized elsewhere (that is esp. true for heap - that one IS thread safe to my knowledge).

OTOH, you have missed some that might cause a trouble in future (e.g. when working on GuiMT, I have fount that Ptr/Pte are not really thread safe - something to fix ASAP).

Also, note that StaticCriticalSection is zero-initilized POD, so it does not perform any further form of initilization (nice simple solution to "how to serialize initialization of serializer").

Anyway, thanks. I must admit that multithreading is generally less tested / fixed than the rest of library. Any warnings/suggestions here are welcome.

Mirek
 
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
Next Topic: SlaveProcess should be moved from Web to Core
Goto Forum:
  


Current Time: Thu May 16 14:00:41 CEST 2024

Total time taken to generate the page: 0.02409 seconds