[parrot/parrot] 0a11e2: Unshare runloop_id_counter to fix races

GitHub noreply at github.com
Thu Aug 9 19:27:25 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 0a11e2562815ff1a7c6a9e1c068b7034ea49bde6
      https://github.com/parrot/parrot/commit/0a11e2562815ff1a7c6a9e1c068b7034ea49bde6
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-08-09 (Thu, 09 Aug 2012)

  Changed paths:
    M include/parrot/interpreter.h
    M src/call/ops.c

  Log Message:
  -----------
  Unshare runloop_id_counter to fix races

runloop_id_counter should be local to the interp instead of global.
There's no reason to share it between threads. Leaving it global was an oversight.


  Commit: 345166892af211b7e20973b43bde9be15e6d9ce6
      https://github.com/parrot/parrot/commit/345166892af211b7e20973b43bde9be15e6d9ce6
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-08-09 (Thu, 09 Aug 2012)

  Changed paths:
    M src/scheduler.c

  Log Message:
  -----------
  Merge branch 'threads' of github.com:parrot/parrot into threads


Compare: https://github.com/parrot/parrot/compare/39d88fccb620...345166892af2


More information about the parrot-commits mailing list