[parrot/parrot] 60efbf: Block GC while scheduling a task on another thread

GitHub noreply at github.com
Fri Mar 2 17:51:16 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 60efbf6f8c9b94d0044043d303acf0ac6d4d3513
      https://github.com/parrot/parrot/commit/60efbf6f8c9b94d0044043d303acf0ac6d4d3513
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M src/pmc/parrotinterpreter.pmc
  M src/thread.c

  Log Message:
  -----------
  Block GC while scheduling a task on another thread

Scheduling may cause the garbage collector to kick in. If we schedule on
another thread, this would start the other interpreter's GC from the
wrong thread where it would find foreign PMCs on the stack. A situation
we really want to avoid.





More information about the parrot-commits mailing list