[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/doc libgc_changes.txt,NONE,1.1
From: |
Thong Nguyen <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/doc libgc_changes.txt,NONE,1.1 |
Date: |
Sat, 05 Jul 2003 22:28:56 -0400 |
Update of /cvsroot/dotgnu-pnet/pnet/doc
In directory subversions:/tmp/cvs-serv16975
Added Files:
libgc_changes.txt
Log Message:
Comments on changes made to libgc for pnet.
--- NEW FILE ---
When libgc is compiled under cygwin, GC_CreateThread doesn't
register the new thread with the GC and instead redirects the
call directly to the windows CreateThread function. This
does not occur if libgc is compiled using ming (e.g. with the
--no-cygwin compiler flag). Threads that aren't registered
with the GC *will* eventaully segfault. When compiled under
cygwin, libgc expects you to use pthreads and not windows
threads.
Portable.Net uses windows threads (and never pthreads) under
cygwin so the following changes needed to be made to libgc:
configure.in:
Added AC_DEFINE(GC_DISABLE_CYGWIN_PTHREADS) when
a cygwin compile is detected.
win32_threads.c:
All checks for CYGWIN32 are changed to checks for
CYGWIN32 && !defined(GC_DISABLE_CYGWIN_PTHREADS).
include/gc.h:
GC_PTHREADS is defined if GC_WIN32_THREADS and
__CYGWIN32__ are defined but only if
GC_DISABLE_CYGWIN_PTHREADS is not defined.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/doc libgc_changes.txt,NONE,1.1,
Thong Nguyen <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2517,1.2518 configure.in,1.135,1.136
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/doc libgc_changes.txt,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2517,1.2518 configure.in,1.135,1.136
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/doc libgc_changes.txt,1.1,1.2
- Index(es):