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 » ARM threadind does not work
Re: ARM threadind does not work [message #38440 is a reply to message #38426] Sat, 15 December 2012 18:16 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 736
Registered: November 2008
Location: France
Contributor
Found one uninitialized variable:

Core/Mt.cpp L13 :
static Mutex& sMutexLock()
{
	static Mutex *section;   **** need's to be initialized to 0  ****
	if(!section) {
		static byte b[sizeof(Mutex)];
		section = new(b) Mutex;
	}
	return *section;
}


If section is not initialized to '0' : we can pray for the lazy initialisation to work properly

This correction, is yet not sufficient Sad


NB: I will furnish a complete patch when I'll get this running (if I succeed Confused )
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TcpSocket issues on XP but not on Win7?
Next Topic: Redirect - possibly another Skylark bug
Goto Forum:
  


Current Time: Wed Aug 27 11:56:59 CEST 2025

Total time taken to generate the page: 0.05989 seconds