[Lazarus] Are multiple critical sections allowed in form or data module?

Michael Schnell mschnell at lumino.de
Mon Oct 10 10:27:55 CEST 2011

On 10/09/2011 02:37 PM, Hans-Peter Diettrich wrote:
> Mattias Gaertner schrieb:
>> Most LCL code is reentrant.
> Only within the context of an single thread.
In a single threadded application only recursive functions can have 
reentrancy problems.

As nearly all user code is done as an event (callback) from the LCL the 
LCL is always called in a recursive way and thus is is bound to be 
reentrant-save to a certain extent.


More information about the Lazarus mailing list