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?
Piers. > -----Original Message----- > From: Dietmar Maurer [mailto:[EMAIL PROTECTED]] > 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 - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-> list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
