[Mono-list] solution for Thread::Abort()

Dietmar Maurer dietmar@ximian.com
09 Aug 2002 08:43:04 +0200


On Thu, 2002-08-08 at 21:34, Jaroslaw Kowalski wrote: 
> 
> 2 stupid questions:
> 
> 1. Can't you just do pthread_kill(thread, SIGSTOP) to suspend the
> thread and pthread_kill(thread, SIGCONT) to resume?

Unfortunately this will Stop all threads in a process (according to my
pthread book). Linux uses one process per thread so it is possible that
this works on Linux, but it will not be portable. 

- Dietmar