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

2014-09-25 Thread Dennis Poon
Mark Morgan Lloyd wrote: Dennis Poon wrote: 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 fre

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

2014-09-25 Thread Mark Morgan Lloyd
Dennis Poon wrote: 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. Are you absolutely

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

2014-09-25 Thread Jonas Maebe
On 25/09/14 17:10, Dennis Poon wrote: > 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 free

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

2014-09-25 Thread Dennis Poon
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?