[Mono-list] solution for Thread::Abort()
Fri, 9 Aug 2002 01:30:06 -0700
I wonder, what happense if you freeze a thread while it's in the middle
of a GC? Can someone summarize how the boehm GC handles multi-threaded
applications, and how it handles native calls?
> -----Original Message-----
> From: Dietmar Maurer [mailto:firstname.lastname@example.org]
> Sent: Thursday, August 08, 2002 11:43 PM
> To: Jaroslaw Kowalski
> Cc: Dick Porter; Mono List
> Subject: Re: [Mono-list] solution for Thread::Abort()
> 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
> Mono-list maillist - Monoemail@example.com
> http://lists.ximian.com/mailman/listinfo/mono-> list