[Lazarus] thread safe

Michael Schnell mschnell at lumino.de
Tue Jun 28 14:47:42 CEST 2011


On 06/28/2011 12:35 PM, Hans-Peter Diettrich wrote:
>  *and* an according implementation of this model in application 
> specific code.
>
Yep but the application program should not (need to) be aware of what 
architecture (Processor-Type, SMP,...) it is running on nor know about 
the underlying OS or system libraries (MUETX/FUTEX, ...). For the user 
program, protecting the data structures by TCriticalSection() (if 
necessary according to the description e.g. of the LCL objects it uses) 
should suffice.

If this is not like that, I consider it a bug. Which might not be 
helpful if there is no decent way to cure it. In this case: what 
workaround can be used ?

-Michael




More information about the Lazarus mailing list