[parrot/parrot] 2206f2: Fix two threads races, SHIM unused interp

GitHub noreply at github.com
Thu Aug 30 16:46:49 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 2206f235621c03bf553101309002120f3d412edb
      https://github.com/parrot/parrot/commit/2206f235621c03bf553101309002120f3d412edb
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-08-30 (Thu, 30 Aug 2012)

  Changed paths:
    M include/parrot/thread.h
    M src/alarm.c
    M src/pmc/task.pmc
    M src/scheduler.c
    M src/thread.c

  Log Message:
  -----------
  Fix two threads races, SHIM unused interp

threads_array when a thread is add is now protected via a global mutex.

tdata->mailbox also needs a lock.

Several interp arguments are gone.





More information about the parrot-commits mailing list