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

GitHub noreply at github.com
Thu Dec 13 17:50:23 UTC 2012


  Branch: refs/heads/rurban/task_interp
  Home:   https://github.com/parrot/parrot
  Commit: e7044270fd8495f0b1ac8fff0288a90007fe2ed5
      https://github.com/parrot/parrot/commit/e7044270fd8495f0b1ac8fff0288a90007fe2ed5
  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.


  Commit: 5ebe7e9eead7b30306d28dd2cb27241f755cc827
      https://github.com/parrot/parrot/commit/5ebe7e9eead7b30306d28dd2cb27241f755cc827
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

  Changed paths:
    M t/pmc/parrotinterpreter.t

  Log Message:
  -----------
  parrotinterpreter.t: add interp.current_task test (also fails)


Compare: https://github.com/parrot/parrot/compare/97d3b138a5ff...5ebe7e9eead7


More information about the parrot-commits mailing list