chickadee » suspension » with-limited-continuation

with-limited-continuation THUNKprocedure

Creates a limited execution context by spawning a new thread and suspending the current one. THUNK should be a procedure of no arguments and will be executed in the new context. Any results returned by THUNK will be returned by the with-limited-continuation form.