[Mono-bugs] [Bug 53078][Nor] Changed - Thread not disposed if Start not called

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 20 Jan 2004 13:13:17 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by derek.mcumber@datamtnsol.com.


--- shadow/53078	2004-01-20 08:38:06.000000000 -0500
+++ shadow/53078.tmp.21646	2004-01-20 13:13:17.000000000 -0500
@@ -118,6 +118,24 @@
 at the end of the test code.
 The thought process is: the start_wrapper will finish only when the
 ThreadFunc has finished executing and has returned, doesn't seem to
 hurt anything, but not sure why the resources and memory aren't freed up.
+------- Additional Comments From derek.mcumber@datamtnsol.com  2004-01-20 13:13 -------
+Good News:
+Added this to my previous fix and some of the resources are getting 
+4.  in 'Start_Wrapper' add this line after 'mono_run_finalize(thread,0);'
+    GC_gcollect();
+Shows only 12Meg in use after test instead of 55Meg.  
+Now I am going to try a similar change to ThreadPool.c
+where it calls 'ExitThread(0)'; (return (0) instead?);