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 #48503 is a reply to message #48501] Mon, 10 July 2017 12:30 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
akebee wrote on Mon, 10 July 2017 12:26
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 ?


Because 'thread__' ?
 
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:07:49 CEST 2025

Total time taken to generate the page: 0.06040 seconds