[Lazarus] thread safe
Lukasz Sokol
el.es.cr at gmail.com
Mon Jun 27 13:07:00 CEST 2011
On 27/06/2011 11:19, Michael Schnell wrote:
> On 06/27/2011 11:37 AM, Martin wrote:
>>
>> If the function, for example stores some important data in a thread
>> local variable, but flags (thread global) the availability of the
>> data, then no Critical section will fix it.
>>
> Yep !
>
> As stated in my former messages in this thread, IMHO, the "official"
> definition of thread-safe-ness does not make much sense with objects,
> but a more complex definition covering several cases of use is
> necessary.
>
> -Michael
The computer/OS/system has no clue of anything you may call 'an object'...
when compiled, it is just 'code'.
OOP is just a convenient abstraction, it's for people needed only :)
L.
More information about the Lazarus
mailing list