On Sun, 9 Oct 2011 00:22:10 +0100
Frank Church <vfcli...@gmail.com> wrote:

> Are multiple critical sections allowed in form or data module?
> 
> e.g. I have different datasets each with its own connection and queries that
> threads need to lookup data from.
> 
> Is it acceptable to have additional TCriticalSections on the form?

Yes.
I hope you are aware that all code accessing the LCL must run in the
main thread.

Mattias


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to