fix runstack reset in future thread

svn: r17164
This commit is contained in:
Matthew Flatt 2009-12-02 19:39:21 +00:00
parent 61da010d5f
commit ec7dbeee65

View File

@ -820,7 +820,9 @@ void *worker_thread_future_loop(void *arg)
//including runtime calls.
//If jitcode asks the runrtime thread to do work, then
//a GC can occur.
LOG("Running JIT code at %p...\n", ft->code);
LOG("Running JIT code at %p...\n", ft->code);
MZ_RUNSTACK = MZ_RUNSTACK_START + fts->runstack_size;
scheme_current_thread->error_buf = &newbuf;
if (scheme_future_setjmp(newbuf)) {