[Lazarus] thread safe

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jun 30 20:08:16 CEST 2011


Lukasz Sokol schrieb:

>> Objects (classes) add further topics to the list of items, that make
>> up "thread-safety" in general.
> 
> After compilation, it's just code, isn't it? 
> Classes may have the 'hidden' variables but they're not 'hidden' to the
> OS/CPU ?

Objects include information, that may be subject to race conditions, 
deadlocks and other unwanted things. A "thread-safe" definition for 
procedures covers nothing of what applies to thread-safe objects.

DoDi





More information about the Lazarus mailing list