[Lazarus] Synchronize problem in linux

Vincent Snijders vincent.snijders at gmail.com
Wed May 25 13:35:24 CEST 2011


2011/5/25  <michael.vancanneyt at wisa.be>:
>>> No. You should use a TMultiReadExclusiveWriteSynchronizer object to
>>> synchronize access to your object, or use a critical section.
>>
>> Ehm, he made sure that only one thread accesses the TStringList at a
>> time.
>
> To me, this is not obvious from his mail ?

I thought it was obvious from:
"The logic of the application itself made it sure that there was no
conflict whatsoever. "

But maybe that was not not what Giuliano meant by "no conflict".

>
> If the main thread only starts work after the secondary thread is done,
> there should be no problem.

Vincent




More information about the Lazarus mailing list