Home » U++ Library support » U++ SQL » SQLite-insert/update in threads (please help!)
Re: SQLite-insert/update in threads (please help!) [message #27235 is a reply to message #27225] |
Tue, 06 July 2010 22:21   |
Sc0rch
Messages: 99 Registered: February 2008 Location: Russia, Rubtsovsk
|
Member |

|
|
luzr wrote on Tue, 06 July 2010 14:22 |
Sc0rch wrote on Fri, 02 July 2010 22:28 | Friend suggested to use try-catch construction to control unexpected situations of external resources.
|
That is a very bad idea.
|
Don't know why bad idea, but I'm trying not use them in code at all =)
I moved all database calls to one thread (for now), and no crashes now, but app became more slow on database read =(
I'll try Mutex soon. Thank you!
[Updated on: Tue, 06 July 2010 22:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Aug 24 18:56:57 CEST 2025
Total time taken to generate the page: 0.04709 seconds
|