[parrot/parrot] 8aa61a: Proxy namespaces and classes as well

noreply at github.com noreply at github.com
Tue Dec 13 20:00:40 UTC 2011


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot

  Commit: 8aa61aa691bc4c4039000f5e0b4ae510bd730b87
      https://github.com/parrot/parrot/commit/8aa61aa691bc4c4039000f5e0b4ae510bd730b87
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2011-12-13 (Tue, 13 Dec 2011)

  Changed paths:
    M src/gc/mark_sweep.c
  M src/pmc/parrotinterpreter.pmc
  M src/pmc/proxy.pmc
  M src/thread.c
  M t/pmc/task.t

  Log Message:
  -----------
  Proxy namespaces and classes as well

With this change, threads have read only access to their parent's
namespaces and classes. Though this avoids any problems with cloning
namespaces and allows task tests to use the imported ok function and
thread tests to pass, it's still not perfect.

Classes can be instantiated on a thread if they have been instantiated
before in the main thread.




More information about the parrot-commits mailing list