concurrent-programs
concurrent-programs copied to clipboard
Complementary Concurrency Programs for course "Linux Kernel Internals"
## Pull Request Summary This pull request aims to enhance the existing seqlock implementation by making it more portable, improving code readability, and adhering to coding standards. The changes involve...
When building and running `/mutex/example` with `ThreadSanitizer` enabled under **GCC 12** , **GCC 13** or **GCC 10**, the program occasionally fails with the following fatal error: `FATAL: ThreadSanitizer: unexpected memory...
Reduce `ringbuf_element_t` from 8 bytes to 4 bytes by encoding the `gap` flag into the LSB of the size field. Since all payload sizes are padded to 8 bytes, the...