[Mono-list] Stopping threads from within the runtime?

Derek Woo derek@eecg.toronto.edu
Wed, 18 Aug 2004 18:40:25 -0400 (EDT)


I am using mono for research. I am figuring if it is possible, in the 
runtime (i.e. the 'C' world), to suspend all user/system threads?

I would like to freeze the whole runtime execution and gather information, 
and then let execution resume. I would imagine the GC would do something 
similar. The closest I found are 2 methods:


However, it doesn't seem to behave the way I expect. If any JIT/runtime 
people could give me a hint, it would be greatly appreciated.

Thanks very much