News for hackers. Stuff that matters.
Re:Fast, simple, hard real time allocator for Rust by loeg on Thursday May 02, 2024 @12:32PM (#40238148)
The presence of interrupts is basically equivalent to not being single threaded, though. There are true single-threaded environments, it's just limited to userspace processes that don't handle signals.
Re:Fast, simple, hard real time allocator for Rust by gpderetta on Friday May 03, 2024 @05:55AM (#40245910)
It is even worse: re-entrancy safe is a different property than thread-safe. For example you can't use mutexes to guarantee mutual exclusions with interrupts.

Some algorithms are both thread safe and reentrancy safe, but generally this is not the case.