[Lazarus] Weird object variables access - fpc issue?
Michael Van Canneyt
michael at freepascal.org
Tue Oct 24 11:11:15 CEST 2017
On Tue, 24 Oct 2017, Mattias Gaertner via Lazarus wrote:
> On Tue, 24 Oct 2017 08:59:36 +0100
> el es via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> On 23/10/17 20:00, Giuliano Colla via Lazarus wrote:
>> [snip]
>>
>> I don't remember if I was hitting AV using Now(), likely I wasn't -
>> but due to 'normal' Now() being not thread safe, I was getting inconsistent
>> timing results, when I used Now() both in main thread and in the thread;
>
> AFAIK Now is thread safe. On what platform and how did you test?
>From memory:
The first call to Now is not necessarily thread-safe, because of the
initialization of TZ info ?
Michael.
More information about the Lazarus
mailing list