Commit graph

10 commits

Author SHA1 Message Date
35f4c16ab0 Add call-with-temporary-thread
All checks were successful
/ test (push) Successful in 8s
2026-01-24 15:21:15 +00:00
094259b049 Add display, simple-format and format variants
Which call put-bytevector for performing output. When used in
combination with an unbuffered port, this should be safer than using
the normal Guile procedures, as I think it'll avoid writing to the
buffers, while still avoiding single character at a time output.

More research is needed though in to how to output to stdout/stderr
when using fibers with a parallelism greater than 1.
2026-01-12 10:00:35 +00:00
39ae5177f2 Add spawn-fiber/knots
Some checks failed
/ test (push) Has been cancelled
Which is like spawn-fiber, but uses knots exception handling.
2026-01-09 15:44:04 +00:00
991a5f6961 Make print-backtrace-and-exception/knots more reliable
Catch failures in the Guile code for printing backtraces, and print
the partial backtrace, plus the backtrace of the exception that
happened.
2026-01-09 15:31:54 +00:00
78d22d1acc Tweak display of stack traces
Tweak the frames to display and try to harden the code to crash less.
2025-06-09 12:19:56 +01:00
7ba77010ae Handle %stacks not being a pair
Not sure when this would happen, but guard against it.
2025-05-15 09:26:29 +01:00
d8bc09755e Fix knots-exception? 2025-02-27 12:18:36 +00:00
893299ba24 Start trying to improve exceptions and backtraces
When using knots utilities.
2025-02-03 15:44:51 +00:00
e8ab6f23d8 Add call-with-sigint 2024-12-25 20:35:40 +00:00
2f39c58d6c Initial commit 2024-12-16 09:18:12 +00:00