doc: Update README for Solaris regarding multi-threading support
authorIvan Maidanski <ivmai@mail.ru>
Wed, 28 Mar 2012 16:17:33 +0000 (20:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 28 Mar 2012 16:24:05 +0000 (20:24 +0400)
* doc/README.solaris2 (SOLARIS THREADS): Update.
* doc/overview.html: Remove information about Solaris old-style
threads support.

doc/README.solaris2
doc/overview.html

index d46fe26..2f3b511 100644 (file)
@@ -24,9 +24,15 @@ libgcc_s.so.1.  Alternatively, you can configure with --disable-shared.
 
 SOLARIS THREADS:
 
-The collector must be compiled with -DGC_THREADS to be thread safe.
+Threads support is enabled by configure "--enable-threads=posix" option.
+(In case of GCC compiler, multi-threading support is on by default.)
+This causes the collector to be compiled with -D GC_THREADS (or
+-D GC_SOLARIS_THREADS) ensuring thread safety.
 This assumes use of the pthread_ interface.  Old style Solaris threads
 are no longer supported.
+Thread-local allocation is now on by default.  Parallel marking is on by
+default starting from GC v7.3 but it could be enabled or disabled manually
+by the corresponding "--enable/disable-parallel-mark" options.
 
 It is also essential that gc.h be included in files that call pthread_create,
 pthread_join, pthread_detach, or dlopen.  gc.h macro defines these to also do
index 0348457..8c562bf 100644 (file)
@@ -104,7 +104,7 @@ Tru64, Irix and a few other operating systems.
 Some ports are more polished than others.
 <p>
 Irix pthreads, Linux threads, Win32 threads, Solaris threads
-(old style and pthreads),
+(pthreads only),
 HP/UX 11 pthreads, Tru64 pthreads, and MacOS X threads are supported
 in recent versions.
 </p><h3>Separately distributed ports</h3>