Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-04 Thread Michael Schnell
> Are threadvar variables being freed like regular managed vars Threadvars are not freed at all. They are like global vars, only that each running thread automatically has its own copy. -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] trying to use C code in .pas on WIN32

2019-02-04 Thread conlin664 via fpc-pascal
THANKS GUYS. This is now working. The 'fix' was to actually install fpc 3.0.4 on this machine. My trusty 2.4.4 still compiled just fine what I use it for here at my day job. But it seems 2.4.4 was not really pulling in the static reference. { $L ccode.o } So for anyone else searching on this: c

Re: [fpc-pascal] Question: Is there a global callback, when a thread gets terminated?

2019-02-04 Thread Fr0sT
Are threadvar variables being freed like regular managed vars? I guess that is all you need. 02.02.2019 14:00, fpc-pascal-requ...@lists.freepascal.org пишет: Send fpc-pascal mailing list submissions to fpc-pascal@lists.freepascal.org To subscribe or unsubscribe via the World Wide Web,