]> granicus.if.org Git - gc/commit
Add double-lock assertion to GC_acquire_mark_lock
authorIvan Maidanski <ivmai@mail.ru>
Mon, 15 Jul 2013 12:02:36 +0000 (16:02 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 15 Jul 2013 12:02:36 +0000 (16:02 +0400)
commit991f1a8a5ced31df77ea81a1f53116a8b5f34eea
tree4b16f23bff3728a981705a4893d0708de81c79b9
parent84c483185f85bc574eeea2ae316d25062a02d296
Add double-lock assertion to GC_acquire_mark_lock

* pthread_support.c (GC_acquire_mark_lock): Add assertion that
GC_mark_lock_holder is not set to the current thread on the function
entry (i.e., assertion against double lock).
* win32_threads.c (GC_acquire_mark_lock): Likewise.
pthread_support.c
win32_threads.c