mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-22 07:09:18 +02:00
returning thread on thread-start!
This commit is contained in:
parent
ac05d24594
commit
0bfb97851b
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ sexp sexp_thread_start (sexp ctx sexp_api_params(self, n), sexp thread) {
|
||||||
} else { /* init queue */
|
} else { /* init queue */
|
||||||
sexp_global(ctx, SEXP_G_THREADS_BACK) = sexp_global(ctx, SEXP_G_THREADS_FRONT) = cell;
|
sexp_global(ctx, SEXP_G_THREADS_BACK) = sexp_global(ctx, SEXP_G_THREADS_FRONT) = cell;
|
||||||
}
|
}
|
||||||
return SEXP_VOID;
|
return thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
sexp sexp_thread_terminate (sexp ctx sexp_api_params(self, n), sexp thread) {
|
sexp sexp_thread_terminate (sexp ctx sexp_api_params(self, n), sexp thread) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue