[Lazarus] Are multiple critical sections allowed in form or data module?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sun Oct 9 14:37:43 CEST 2011
Mattias Gaertner schrieb:
> On Sun, 09 Oct 2011 10:49:31 +0200
> Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
>
>> [...]
>> The LCL is not reentrant.
>
> Most LCL code is reentrant.
Only within the context of an single thread.
This was acceptable on traditional single-CPU/core machines, but
nowadays non-visual components, and also parts of a GUI, should be
manageable in different (dedicated) threads.
DoDi
More information about the Lazarus
mailing list