[parrot/parrot] 3b35e0: new autoclose implementation, no longer relying on...

noreply at github.com noreply at github.com
Wed Nov 16 17:15:41 UTC 2011

  Branch: refs/heads/mls/new-autoclose
  Home:   https://github.com/parrot/parrot

  Commit: 3b35e033e035f1d1a70ba3f6cbabfcbc7efa4604
  Author: Michael Schroeder <mls at suse.de>
  Date:   2011-11-16 (Wed, 16 Nov 2011)

  Changed paths:
    M compilers/imcc/pbc.c
  M include/parrot/sub.h
  M src/packfile/api.c
  M src/pmc/coroutine.pmc
  M src/pmc/sub.pmc

  Log Message:
  new autoclose implementation, no longer relying on sub->ctx

sub->ctx contained the context of the last call to this sub. It
was used in the autoclose code, which does not work when
multiple threads are running. Thus we do away with sub->ctx, but
search the call chain for a suitable context instead.
We also delete the now unused SUB_FLAG_IS_OUTER flag.

More information about the parrot-commits mailing list