Am Mittwoch, 28. März 2007 03:14 schrieb Alek Storm: > This patch moves args_signature, params_signature, returns_signature, > current_args, current_params, and current_returns from Parrot_Interp > to Parrot_Context. This makes the interpreter more reentrant, which > is always a good thing.
Nope. The current_ ptrs and friends are deliberately not in the Context structure. Rational: 1) This ism't needed, these pointers are only valid and needed up to the next sub call/return. 2) The Context struct should be as small as possible because each sub call needs one. 3) Reentrancy isn't a problem as new threads get new interpreter structs anyway. leo