]> granicus.if.org Git - gc/commit
Turn on parallel marker by default for all multi-threaded builds
authorIvan Maidanski <ivmai@mail.ru>
Sat, 22 Apr 2017 15:21:09 +0000 (18:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 22 Apr 2017 15:21:09 +0000 (18:21 +0300)
commitc7f2147e1a8a955912dbb87de5d20911c40a6a50
tree009af5890b94832c69bef0c02af9d583524012e1
parent0ee15072e7624c53261aa50598e2ce5085e76488
Turn on parallel marker by default for all multi-threaded builds

Note: if some target does not support PARALLEL_MARK, it should be
fixed (or a workaround should be added).

* CMakeLists.txt (enable_parallel_mark): Change default value to ON.
* CMakeLists.txt [enable_parallel_mark] (PARALLEL_MARK): Define only
along with GC_LINUX_THREADS, or GC_AIX_THREADS, or GC_HPUX_THREADS, or
GC_OPENBSD_THREADS, or GC_FREEBSD_THREADS, or GC_NETBSD_THREADS, or
GC_SOLARIS_THREADS, or GC_IRIX_THREADS, or GC_THREADS, or
GC_DARWIN_THREADS, or GC_OSF1_THREADS.
* configure.ac (PARALLEL_MARK): Always define unless threads are
disabled or enable_parallel_mark is "no".
CMakeLists.txt
configure.ac