mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
45c473d721
This has the following advantages: - faster and leaner when C11 atomics are not efficient (e.g. on LLVM this is almost always the case, as LLVM will only use efficient atomics if it doesn't has to bail out to library calls even for exotic things) - Even for GCC e.g. on the nucleo-f429zi this safes 72 B of .text for examples/filesystem despite runtime checks added for over- and underflow - less pain in the ass for C++ and rust users, as both C++ and c2rust are incompatible with C11 atomics - adds test for overflow of the open file counter for more robust operation - adds `assumes()` so that underflows are detected in non-production code |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.include | ||
tests-vfs-bind.c | ||
tests-vfs-dir-ops.c | ||
tests-vfs-file-ops.c | ||
tests-vfs-file-system-ops.c | ||
tests-vfs-mount-constfs.c | ||
tests-vfs-normalize_path.c | ||
tests-vfs-open-close.c | ||
tests-vfs.c | ||
tests-vfs.h |