[Lazarus] Database access and thread-safety

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Mon Nov 8 08:19:03 CET 2010


Can anybody say whether a TSQLQuery can be activated in a thread, 
provided that the portions of the app which activate it and the portions 
which read data from it are protected by critical sections?

I'm trying to increase the responsiveness of a program that I'm using as 
a testbed before moving onto anything critical. Backend is PostgreSQL 
accessed via a TPQConnection.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list