On 21-Oct-2002, Holger Arnold <[EMAIL PROTECTED]> wrote: > Hello, > a short question relating to the garbage collector: Assume that we have a > managed application using n threads T_1, ..., T_n. Let thread T_i trigger a > garbage collection. Which of the following assumptions are correct? > > (1) All threads except T_i are stopped and the garbage collection runs in > thread T_i.
For Posix threads, this one is correct. (However, if you use -DPARALLEL_MARK when building the Boehm collector, then it will do parts of the garbage collection in parallel using multiple threads.) I don't know off-hand how Mono maps CLR threads to Posix threads, though I'd guess it's most likely one-to-one. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit The University of Melbourne | of excellence is a lethal habit" WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp. _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
