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.


Jonas_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to