Re: SBCL Fibers proposal

Michał "phoe" Herda via Sbcl-devel <[email protected]> Sun, 01 Mar 2026 19:37:49 +0100
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <[email protected]>
W dniu 2026-03-01 19:27, Anthony Green napisał(a):

> THROW to a tag not established within the fiber signals "tag does not 
> exist", caught by the handler-case. RETURN-FROM and GO can't cross 
> fiber boundaries.  They're lexically scoped (same constraint as 
> threads).

THROW is fully dynamically scoped, I see you're taking that into 
account.

I'm talking about a case where - for whatever reason - the host thread 
closes over a TAGBODY tag or a BLOCK name, then winds itself further, 
and then executes the matching RETURN-FROM or GO closure within the 
context of a fiber running on the same thread. How does unwinding work 
in this case?

_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel