]> granicus.if.org Git - gc/commit
Fix setup_mark_lock missing prototype
authorIvan Maidanski <ivmai@mail.ru>
Tue, 23 Sep 2014 19:20:08 +0000 (23:20 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 12 May 2015 07:30:05 +0000 (10:30 +0300)
commit572f61f4ef28b405c39c68902c00e8392f9d8b13
tree20841095035fa2709f3f355039b61fe29dc82b1d
parent9ad293ec1d259125e63020d4c3b6f9e6b67d9870
Fix setup_mark_lock missing prototype
(and do not call it if no parallel marker)

* include/private/pthread_support.h (GC_setup_mark_lock): Remove
prototype.
* misc.c (GC_init): Remove GC_setup_mark_lock call (move it to
GC_thr_init).
* pthread_support.c (setup_mark_lock): Rename from GC_setup_mark_lock;
add prototype (only if PARALLEL_MARK).
* pthread_support.c (GC_thr_init): Call setup_mark_lock() unless
available_markers_m1 is 0.
include/private/pthread_support.h
misc.c
pthread_support.c