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 » Linux MT problems with time functions
Re: Linux MT problems with time functions [message #25386 is a reply to message #25360] Sat, 20 February 2010 17:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
zsolt wrote on Thu, 18 February 2010 12:48

I'm planning introducing threading in one of my projects, but I found a problem with unix time handling functions.

localtime() and gmtime() functions are using a library internal tm struct, so they are not thread-safe, but they are used in U++ core.

It would be a good idea to change them to their _r variant soon, I think.

I can do the fixes, but it is not very urgent for me, as I'm not working on this project yet, but I think somebody else can fix this bugs, if he/she feels it very important.


Done.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: what about WorkQueue : public CoWork
Next Topic: multi-threading slower than single thread
Goto Forum:
  


Current Time: Wed Jun 05 00:12:53 CEST 2024

Total time taken to generate the page: 0.01240 seconds