Re: [fpc-pascal] InitThread/DoneThread

2017-10-27 Thread Sven Barth via fpc-pascal
Am 27.10.2017 11:08 schrieb "Ryan Joseph" : > On Oct 27, 2017, at 4:02 PM, Michael Van Canneyt wrote: > > Why you were advised to include these calls explicitly ? > > The only reason I can think of is when your code runs in a DLL, called by an > application that creates threads externally, or w

Re: [fpc-pascal] InitThread/DoneThread

2017-10-27 Thread Ryan Joseph
> On Oct 27, 2017, at 4:02 PM, Michael Van Canneyt > wrote: > > Why you were advised to include these calls explicitly ? > > The only reason I can think of is when your code runs in a DLL, called by an > application that creates threads externally, or when you have callbacks from > a DLL whic

Re: [fpc-pascal] InitThread/DoneThread

2017-10-27 Thread Michael Van Canneyt
On Fri, 27 Oct 2017, Ryan Joseph wrote: In the latest version of MacOS calls to InitThread starting crashing so I removed the InitThread/DoneThread pair and surprisingly nothing broke. I was instructed some years ago to include these in my threads to support the FPC runtime but what are they

[fpc-pascal] InitThread/DoneThread

2017-10-27 Thread Ryan Joseph
In the latest version of MacOS calls to InitThread starting crashing so I removed the InitThread/DoneThread pair and surprisingly nothing broke. I was instructed some years ago to include these in my threads to support the FPC runtime but what are they really for? I wasn’t able to get any suppor