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 #22873 is a reply to message #22871] Mon, 24 August 2009 12:23 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Koldo,

thank you for your investigation.

Implicit TLS (thread-local storage) that is used in U++ is not always supported, depending on Compiler and OS support.
It is declared by using
__declspec(thread)
var for MSC and
__thread
for GCC.

That is why you see problems with GUILock example since it depends on having sGLockLevel variable locally available in all threads which does not seem to be supported with dwarf-2 version.
AFAIK GuiMT example does not need to use thread-local variables, that is why it works.

I have the same problems with OpenBSD that is why I try to find a solution for systems (Compiler and OS combinations) that do not support implicit TLS.

Regards,
Matthias
 
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 02:42:40 CEST 2024

Total time taken to generate the page: 0.01358 seconds