[fpc-pascal] is it possible to kill a thread from within fpc?

Dennis Poon dennis at avidsoft.com.hk
Thu Sep 25 17:10:58 CEST 2014


I want to kill a thread created by my fpc program (not killing the 
entire process).
I have to use an external win32 dll.
I am already calling it from a separate thread but still, that dll 
something goes into an infinite loop  which made my thread freezes.

How do I kill this particular thread? Just by calling MyThread.terminate 
definitely just does not work.

Is it even possible?

Dennis



More information about the fpc-pascal mailing list