Dan's thread proposal mentions:
> =item Automatic PMC sharing will be provided
> 
> When a PMC is placed into a container which is shared (including
> lexical pads and global namespaces) then that PMC will automatically
> be marked as shared. It is acceptable for this to trigger an
> exception if for some reason a PMC should not be shared between
> interpreters.
> 
> PMCs are, by default, not shared. This avoids sharing overhead for
> PMCs which are only used as temporaries and not shared. (Note that
> this is dangerous, and may end up not being done, due to the sharing
> of continuations)

I don't know why this is dangerous.  A continuation is a data structure
just like an array or a hash.  When you share it, everything "inside" it
gets shared, too.  For a continuation, this could be an awful lot of
stuff, but it's the safe way.

Luke

Reply via email to