dyoo/whalesong — Issue #70: Trampoline scheduling must get exclusive lock to prevent foreign functions from coming in
Author: dyoo
Created: 2011-12-03 06:14:21+00:00
State: open

The bug that Jeanette's seeing is due to a nasty bug with makeRestartFunction/scheduleTrampoline, which is supposed to hold an exclusive lock over the evaluator, and exposed functions, which are not waiting properly. I'm seeing calls where the trampoline is waiting to get restored, and suddenly control flow is walking back into code that it shouldn't get into.