spawn-linked ( quot name -- thread )
Message-passing concurrency ยป Linked exceptions


Vocabulary
concurrency.messaging

Inputs
quota quotation
namea string


Outputs
threada thread


Word description
Start a thread which runs the given quotation. If that quotation throws an error which is not caught then the error will get propagated to the thread that spawned it. This can be used to set up 'supervisor' threads that restart child threads that crash due to uncaught errors.

See also
spawn

Definition