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 » GuiLock Example broken
Re: GuiLock Example broken [message #22841 is a reply to message #22838] Fri, 21 August 2009 14:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
masu wrote on Fri, 21 August 2009 08:19

Hi Mirek,

thanks for explanations, it seems, it was the call to free instead of delete that caused the crash ... (sorry about that).

I meant explicit TLS not implicit one in my prior post, will edit it to correct this one.

Thanks for now,
Matthias


Actually, if correct __thread is not available, U++ allocator cannot work in MT.

Maybe you should just USEMALLOC then... In any case, to stay on the safe side, you TLS implementation should use malloc/free (and maybe then you could use such TLS to make U++ allocator work, although any positive effects will be likely diminished by slow TLS).

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to send msg to specific IP ?
Next Topic: Example Hello World Client/Server Broken?
Goto Forum:
  


Current Time: Wed May 15 09:57:42 CEST 2024

Total time taken to generate the page: 0.02181 seconds