path: root/doc
diff options
authorIvan Maidanski <>2012-03-28 18:17:33 +0200
committerIvan Maidanski <>2012-03-28 18:25:42 +0200
commitce8dd8b48e376409bfa7d6f43eb58d02e878dd35 (patch)
tree953b4a7352e906e13069297b47425dc55c1f5076 /doc
parentaee0d2b519207c625af0793f4a54f2af4b094066 (diff)
doc: Update README for Solaris regarding multi-threading support
* doc/README.solaris2 (SOLARIS THREADS): Update. * doc/overview.html: Remove information about Solaris old-style threads support.
Diffstat (limited to 'doc')
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/README.solaris2 b/doc/README.solaris2
index d46fe26..2f3b511 100644
--- a/doc/README.solaris2
+++ b/doc/README.solaris2
@@ -24,9 +24,15 @@ Alternatively, you can configure with --disable-shared.
-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
diff --git a/doc/overview.html b/doc/overview.html
index 11def67..0d43cc8 100644
--- a/doc/overview.html
+++ b/doc/overview.html
@@ -104,7 +104,7 @@ Tru64, Irix and a few other operating systems.
Some ports are more polished than others.
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>