All you need to do is send the STOP signal to the thread.
This is a common misunderstanding. I quote from IEEE 1003.1:
"[...]
Note that pthread_kill() only causes the signal to be handled in the context of the given thread; the signal action (termination or stopping) affects the process as a whole.
[...]"
_______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
