dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/support thr_choose.h,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/support thr_choose.h,1.2,1.3
Date: Sun, 29 Jun 2003 17:32:01 -0400

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv11640/support

Modified Files:
        thr_choose.h 
Log Message:


Make sure that CreateThread is redirected to GC_CreateThread under all
Win32 environments, because the static library won't properly attach otherwise.


Index: thr_choose.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/thr_choose.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** thr_choose.h        12 Jun 2002 00:44:22 -0000      1.2
--- thr_choose.h        29 Jun 2003 21:31:59 -0000      1.3
***************
*** 72,75 ****
--- 72,80 ----
  #include <gc.h>
  
+ /* Make sure that CreateThread is redirected under all Win32 environments */
+ #if defined(IL_USE_WIN32_THREADS)
+ #define CreateThread GC_CreateThread
+ #endif
+ 
  #else /* !HAVE_LIBGC */
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]