[parrot/parrot] 3b49c1: threads: refactor thread locks in the GC

GitHub noreply at github.com
Fri Jan 23 16:56:52 UTC 2015


  Branch: refs/heads/rurban/thread-lock-gh1187
  Home:   https://github.com/parrot/parrot
  Commit: 3b49c11432f5d35aecb9488045be8ac7ceee0e0c
      https://github.com/parrot/parrot/commit/3b49c11432f5d35aecb9488045be8ac7ceee0e0c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-23 (Fri, 23 Jan 2015)

  Changed paths:
    M src/gc/gc_gms.c

  Log Message:
  -----------
  threads: refactor thread locks in the GC

Simplify GC locks to new macros:
- THREAD_COND_{UN,}LOCK only if locked/lockable (with the self->locked guard)
- THREAD_{UN,}LOCK unconditionally (race free).




More information about the parrot-commits mailing list