]> granicus.if.org Git - gc/commit
Define [UN]SET_LOCK_HOLDER and I_[DONT_]HOLD_LOCK macros only if used
authorIvan Maidanski <ivmai@mail.ru>
Mon, 15 Jul 2013 13:34:54 +0000 (17:34 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 15 Jul 2013 13:34:54 +0000 (17:34 +0400)
commitad1386b5f82d4319406389787605165c94602a67
tree276a2e157e5e11c91cae075753717dc9f547af33
parentad4d8f40f526e7af1334b05a9d693ea03084b4bb
Define [UN]SET_LOCK_HOLDER and I_[DONT_]HOLD_LOCK macros only if used
(code refactoring)

* include/private/gc_locks.h (SET_LOCK_HOLDER, UNSET_LOCK_HOLDER,
I_HOLD_LOCK, I_DONT_HOLD_LOCK): Do not define unless GC_ASSERTIONS.
* include/private/gc_locks.h (SET_LOCK_HOLDER, UNSET_LOCK_HOLDER):
Do not define unless THREADS.
include/private/gc_locks.h