[fpc-pascal] Where is IsMultiThreaded set under Linux?
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Oct 8 15:16:47 CEST 2010
On 08 Oct 2010, at 15:13, Jonas Maebe wrote:
> If you just want to quickly check whether the thread has finished,
> check FThread.Finished (followed by FThread.Waitfor to clean it up
> in case it's true).
I just noticed that's a private field that's not exposed. I guess the
only way is to install an OnTerminate event in your tthread, or to
expose the value of the "Terminated" property in a child class (it's a
protected property).
Jonas
More information about the fpc-pascal
mailing list