[fpc-pascal] Forcibly terminating a thread
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Sat Feb 27 12:40:00 CET 2016
I've got a program here which, under some conditions of testing, ends up
with a thread stuck inside a system call (detail: a mainframe emulator,
which is still trying to read a damaged punched card when the operator
hits the power-off button).
Is there a way of sending an unambiguous system-level kill signal to a
thread? KillThread(ThreadID) doesn't appear to be brutal enough, and I'm
unsure of the correct way to access pthread_kill().
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list