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 #48499 is a reply to message #48497] Mon, 10 July 2017 11:59 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Check docs for void SqlSession::PerThread(bool b = true)

means you can choose:

- either you have single global SQL object (and need to serialize access to it)
- or each thread has its own one (but of course, then each thread needs to create and open its DB connection)
 
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:37 CEST 2025

Total time taken to generate the page: 0.06732 seconds