[Mono-dev] Thread Pool WAPI Ref Problems

Patrick Earl pat.earl at advmeas.com
Thu Sep 21 16:18:41 EDT 2006


Is it correct to assume that wapi handles for threads should stick 
around until sometime after the thread finishes executing?

If so, it seems that the leaking wapi handles (created in the thread 
pool) are caused by missing code in 
mono/metadata/threads.c:start_wrapper() function.  After looking through 
all the code that occurs after the main thread function is called, I 
don't see any place that the wapi handle would be released.  Am I 
missing something, or could this be the problem?

        Patrick



More information about the Mono-devel-list mailing list