Wed, 5 Feb 2003 01:17:00 -0500
I have been looking into this problem as well but I have not made much
progress. It seems as though the existing implementation of threads in
Wine has some issues with the latest glibc. There is some new
information on the WineHQ site at http://www.winehq.com/news/?view=155.
They even mention us :).
I have been trying to get the garbage collector to work under WineLib
first (before worrying about the Mono runtime) using this code:
int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR
lpszCmdLine, int nCmdShow)
I have tried recompiling the garbage collection library under WineLib
and linking with this instead of the pthread version. When compiled this
way it uses Win32 (Wine) threads instead of pthreads but it did not seem
to get much further than the pthread version.
I also tried using the Win32 implementation of pthreads at
http://sources.redhat.com/pthreads-win32/. It doesn't look like this is
compatible with the Wine source but it may be a starting point for
implementing the missing pthread functions in Wine.
Initially I was hoping we could add some code to monostub but I believe
a patch to the Wine source may be the best way to fix this problem.
[mailto:email@example.com] On Behalf Of Dennis
Sent: Tuesday, February 04, 2003 5:43 PM
Subject: [Mono-winforms-list] WINELIB
I have started looking into getting WINE/WINELIB compatible with
pthreads and mono. If nothing else, I will document a better starting
point for those who follow. Wish me luck! Dennis
Mono-winforms-list maillist - Monofirstname.lastname@example.org