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 » Problem with UPP_HEAP and multithread
Re: Problem with UPP_HEAP and multithread [message #23333 is a reply to message #23313] Sun, 11 October 2009 10:31 Go to previous message
kov_serg is currently offline  kov_serg
Messages: 42
Registered: August 2008
Location: Russia
Member
Here is printf and Sleep only for simplicity. In real code there is no printf at all. Just operations with array mutex and events. And if UPP_HEAP disabled program working stable. This is indeed overloaded new and delete operators comes into play. In case then MemoryFreeThread called before thread end it works fine, but without it it begins falling into a parts after second thread creation.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: starting console app hidden
Next Topic: Splitting a string by a string?
Goto Forum:
  


Current Time: Fri May 02 12:08:48 CEST 2025

Total time taken to generate the page: 0.00945 seconds