[fpc-pascal] Unicodestrings and Assign(File)

Jonas Maebe jonas.maebe at elis.ugent.be
Sat May 19 20:44:30 CEST 2012

On 19 May 2012, at 17:36, Marco van de Voort wrote:

> I'm not sure if the *rec records can handle pointers, one probably can't use
> reference types in them, because the standard filedescriptions are
> threadvars.
> Think what happens if those are simply "cloned".

Threadvars are never cloned. They are always initialized with 0 for new threads. We have special hooks that are called initialize the default system threadvars whenever a new thread is started.


More information about the fpc-pascal mailing list