[Gc] GC + Windows Mobile + Threads + Patch for WINCE

biosli biosli at hotmail.com
Mon Aug 24 19:28:05 PDT 2009



 

 Dear Ivan:

> > >> Then I defined VERY_SMALL_CONFIG, and the test passed.
> > 
> > >> Output result:
> > 
> > >> Thread wait failed 6
> > 
> > >> Thread wait failed 6
> > 
> > >> Thread wait failed 6
> > 
> > > 
> > 
> > >This is unclear:
> 
> I see the problem: comment out all CloseHandle() calls in win32_threads.h as a temporary solution and try again. (the handles we get are IDs in fact and should not be closed).
 
You are right! I comment out all CloseHandle calls in win32_threads.c. The test passed on my dopod P800!! Without any warning or Debugbreak.
Test Output:
Received WM_CLOSE, closing window
The thread 'GC_win32_start' (0xda2ddb2) has exited with code 0 (0x0).
Completed 6 tests
Allocated 802728 collectable objects
Allocated 1212 uncollectable objects
Allocated 0 atomic objects
Allocated 0 stubborn objects
Finalized 1649/1649 objects - finalization is probably ok
Total number of bytes allocated is 24151822
Final heap size is 14675968 bytes
Collector appears to work
The thread 'GC_win32_start' (0x2da8e95e) has exited with code 0 (0x0).
Unload module: chsime03.dll
The program '[2e7743de] test_libgcd_Wince.exe' has exited with code 0 (0x0).
 
Best wishes,
GC Beginner
Zeyi Lee

 

_________________________________________________________________
您可以借助 Windows Live 整理、编辑和共享您的照片。
http://www.microsoft.com/china/windows/windowslive/products/photo-gallery-edit.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20090825/19bbe24d/attachment.htm


More information about the Gc mailing list