CVS: winex/scheduler sysdeps.c,1.22,1.23
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/scheduler sysdeps.c,1.22,1.23Update of /var/lib/cvsd/cvsroot/winex/scheduler
In directory agravaine:/tmp/cvs-serv29927/scheduler
Modified Files:
sysdeps.c
Log Message:
Adjust sdldrv event handling model. Push event pumping fully into
the main startup thread, and lock things so we don't have multithreading
issues. Create (hacky) mechanism to transition main thread into sdldrv code.
Index: sysdeps.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/scheduler/sysdeps.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- sysdeps.c 28 Mar 2007 21:06:19 -0000 1.22
+++ sysdeps.c 30 Mar 2007 15:48:03 -0000 1.23
@@ -567,6 +567,10 @@
{
TEB** tebp;
+/* On the Mac, we don't support wine_tkill currently - we'll just leak the dead thread stack memory
+ FIXME!!! Requires Mark's new Mac cp threading code */
+#ifndef __APPLE__
+
for (tebp = &dying_thread_list_head; *tebp != NULL; )
{
TEB* teb = *tebp;
@@ -590,6 +594,8 @@
tebp = &teb->next_dying_teb;
}
}
+#endif
+
}
void SYSDEPS_CleanThreads(void)