mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Setting new thread's dynamic wind state to a fresh root.
This commit is contained in:
parent
99c8992207
commit
dde47a7846
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ sexp sexp_make_thread (sexp ctx, sexp self, sexp_sint_t n, sexp thunk, sexp name
|
|||
stack[2] = sexp_global(ctx, SEXP_G_FINAL_RESUMER);
|
||||
sexp_context_top(res) = 4;
|
||||
sexp_context_last_fp(res) = 0;
|
||||
sexp_context_dk(res) = sexp_make_vector(res, SEXP_FOUR, SEXP_FALSE);
|
||||
sexp_gc_release1(ctx);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue