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++ SQL » How SQL deal with multiple threads?
Re: How SQL deal with multiple threads? [message #48501 is a reply to message #48499] Mon, 10 July 2017 12:26 Go to previous messageGo to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
yeah, i understand a little
the SqlSession::PerThread set sPerThread
thread__ SqlSession *sThreadSession;
...
	#ifdef _MULTITHREADED
		if(sPerThread)
			sThreadSession = &s;
		else
	#endif
			sGlobalSession = &s;
		return;

i don`t see how each thread has a sThreadSession ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SQLITE] Search accents insensitive
Next Topic: ODBC crash
Goto Forum:
  


Current Time: Mon Aug 25 21:06:14 CEST 2025

Total time taken to generate the page: 0.07064 seconds