Threads.pudu
1/** @Utils.Threads.Module — what a stopped thread said */2module PuduLangMediator.Utils.Threads34import Std.Concurrent as Concurrent56/// The message a stopped thread left, or the error itself when it left none.7export fn reasonOf(problem: &Concurrent.ConcurrentError) -> Str {8 match problem {9 case Concurrent.Failed(said) => said10 case other => show(other)11 }12}13