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 #22903 is a reply to message #22901] Wed, 26 August 2009 10:33 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Koldo,

at the moment I am working on integrating explicit TLS support into Core and Draw.
Basically I replace all thread__ variables with another per Thread mechanism to have them thread-local.
For now I managed to have a working version for console apps using pthread lib (only tested in OpenBSD at the moment).
But I will extend it to also include explicit TLS on Win32 for compilers that do not support it.

Regards,
Matthias
Re: GuiLock Example broken [message #22906 is a reply to message #22903] Wed, 26 August 2009 20:40 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Thank you Matthias

I wonder if there is somebody out there that has done something like this before. But thank you again for your efforts.

Best regards
Koldo


Best regards
Iñaki
Re: GuiLock Example broken [message #22909 is a reply to message #22871] Thu, 27 August 2009 05:57 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
koldo wrote on Mon, 24 August 2009 04:26


Good news. Twilight Dragon Media has released their GCC/mingw32 4.4.1 version (http://www.tdragon.net/recentgcc/)

I have just tried GUIMT and GUILock samples and both work.



This problem seems to be fixed in recent versions of gcc.

http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg258414.h tml
http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg258420.h tml


Regards,
Novo
Re: GuiLock Example broken [message #22910 is a reply to message #22909] Thu, 27 August 2009 13:50 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Thank you Novo for the hint.

I installed latest version (tdm-mingw-1.908.0-4.4.1.exe), but unfortunately speed of GuiLock example is very very slow (1 minute min.), now.

So, it is not worth to update to latest version.

Regards,
Matthias
Re: GuiLock Example broken [message #23353 is a reply to message #22910] Tue, 13 October 2009 14:13 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
New news in post http://www.ultimatepp.org/forum/index.php?t=msg&goto=233 52&#msg_23352

Best regards
Iñaki
Previous Topic: How to send msg to specific IP ?
Next Topic: Example Hello World Client/Server Broken?
Goto Forum:
  


Current Time: Fri Mar 29 07:06:20 CET 2024

Total time taken to generate the page: 0.02034 seconds