> I find this behavior rather weird and scary since there is nothing in the > generated IL code to show that csc injects an implicit call to Join. It > seems that the runtime keeps the main thread alive while the worker thread
This behaviour is similar to JVM, it exists when all non-daemon threads terminate. CSC has nothing to do with it (hence there should not be any explicit IL code to handle this), it's a runtime engine property. This is actually documented in ECMA docs for System.Threading, see info on background/foreground threads. Sergey _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
