Calvin Rose
980999c97b
Make test suite not shadow any variables.
2026-03-15 13:14:10 -05:00
Calvin Rose
32d75c9e49
Dup io file descriptors when marshalling closable files.
...
For unclosable files, no need to dup, but for closable files we can get
a resource leak. Valgrind and similar tools won't catch this but IO will
unexpectedly start going to the wrong descriptor if a file was
transferred to a new thread, closed, and then a new file was created.
2026-03-01 10:39:50 -06:00
Calvin Rose
7366fbed1f
Disallow scheduling already modified fibers.
...
While not strictly needed for correctness, this discourages misuse of
fibers and mixing both coroutine, error handling, and scheduling
purposes.
2026-01-28 10:55:00 -06:00
Calvin Rose
33f5a0b319
Add test case to help address #1705
2026-01-24 12:23:01 -06:00
Michael Camilleri
6e4b0b9259
Update year in copyright disclaimer to 2026
2026-01-02 14:14:53 +09:00
Calvin Rose
095a81286a
Add per-thread finalizer calls in missing places.
2025-09-01 12:38:11 -05:00
Calvin Rose
82416e4e4e
Address #1629 - janet_deinit called before threaded channel message sent
...
to thread.
If we take a reference to another thread inside channel code, make sure
that we increase the refcount to avoid a use after free.
2025-09-01 12:30:29 -05:00