diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2014-08-10 11:47:09 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2014-08-10 13:06:36 +0400 |
commit | b41c6771a3405eb9074651a7638639edbf662245 (patch) | |
tree | 8fb755ab721914d34b4da663408a431e60a6073b /doc | |
parent | 8d74a8bea74bcc0e41ec104ca7a17a6f8d6e566d (diff) | |
download | bdwgc-b41c6771a3405eb9074651a7638639edbf662245.tar.gz |
Fix pthreads-win32 name in comments and documentation
* configure.ac (GC_WIN32_PTHREADS): Fix pthreads-win32 name.
* doc/README.macros (GC_WIN32_PTHREADS): Likewise.
* doc/README.win32: Likewise.
* include/gc.h (GC_WIN32_THREADS): Likewise.
* include/gc_config_macros.h (GC_WIN32_PTHREADS): Likewise.
* include/private/gc_locks.h (NUMERIC_THREAD_ID): Likewise.
* win32_threads.c (GC_pthread_join): Likewise.
* doc/README.win32: Add information how to build for Win32 with
pthreads-win32 using configure.
* include/private/gc_locks.h (NUMERIC_THREAD_ID): Adjust comment
(capitalize 1st word of a sentence, add dot at sentence end).
* win32_threads.c (GC_pthread_join): Join adjacent GC_WIN32_PTHREADS
checks; refine comment about pthreads-win32 id.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.macros | 2 | ||||
-rw-r--r-- | doc/README.win32 | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/README.macros b/doc/README.macros index 6e381a61..96a41c76 100644 --- a/doc/README.macros +++ b/doc/README.macros @@ -149,7 +149,7 @@ GC_DGUX386_THREADS Enables support for DB/UX on I386 threads. GC_WIN32_THREADS Enables support for Win32 threads. That makes sense for this Makefile only under Cygwin. -GC_WIN32_PTHREADS Enables support for Ming32 pthreads. This cannot be +GC_WIN32_PTHREADS Enables support for pthreads-win32. This cannot be enabled automatically by GC_THREADS, which would assume Win32 native threads. diff --git a/doc/README.win32 b/doc/README.win32 index 5c30d896..134681cf 100644 --- a/doc/README.win32 +++ b/doc/README.win32 @@ -217,6 +217,7 @@ especially with the garbage collector. Any use is likely to provoke a crash in the GC, since it makes it impossible for the collector to correctly track threads. -To build the collector for Mingw32 Pthreads, use Makefile.direct and -explicitly set GC_WIN32_PTHREADS. Use -DPTW32_STATIC_LIB for the static -threads library. +To build the collector for MinGW pthreads-win32, +use Makefile.direct and explicitly set +GC_WIN32_PTHREADS (or pass --enable-threads=pthreads to configure). +Use -DPTW32_STATIC_LIB for the static threads library. |