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

Michael Schnell mschnell at lumino.de
Mon Oct 10 10:03:49 CEST 2011


On 10/09/2011 01:22 AM, Frank Church wrote:
> Are multiple critical sections allowed in form or data module?
I don't understand your concern.

A DataModule is a way to organize the makeup and dependance of objects 
(so strictly a question of data in memory).

A CriticalSection is a way to organize the instruction flow.

So they have close to no connection.

(In short: Yes)

-Michael




More information about the Lazarus mailing list