Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-04

Threadvar keyword.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christophe

Hello

I would like to know if the threavar keyword is implemented in Free Pascal as it is in Delphi.

If not is there a workaround to perform the same trick ?

Thanks

Christophe

Michael Van Canneyt
to Christophe
Christophe wrote
Hello I would like to know if the threavar keyword is implemented in Free Pascal as it is in Delphi.

It is, but it functions only in Win32 and if you compile the 1.1 RTL with the MT define, I think.

If not is there a workaround to perform the same trick ?

Use the heap.

Michael.