[parrot/parrot] dd99bf: add Task.get_integer, test wrong getinterp in Task

GitHub noreply at github.com
Thu Dec 13 13:54:58 UTC 2012


  Branch: refs/heads/rurban/task_interp
  Home:   https://github.com/parrot/parrot
  Commit: dd99bfff4955bf47b8f670b514a0e06c28c40c86
      https://github.com/parrot/parrot/commit/dd99bfff4955bf47b8f670b514a0e06c28c40c86
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

  Changed paths:
    M src/pmc/parrotinterpreter.pmc
    M src/pmc/task.pmc
    M t/pmc/parrotinterpreter.t

  Log Message:
  -----------
  add Task.get_integer, test wrong getinterp in Task

Inside a task getinterp should not return the global interp PMC from
the parent thread. Any function should know in which thread tid or task.id it runs.
We have no introspection to get the curent task nor interp.





More information about the parrot-commits mailing list