Tweaked thread-safe implementation

- Stayed on non-system include for lfs_util.h for now
- Named internal functions "lfs_functionraw"
- Merged lfs_fs_traverseraw
- Added LFS_LOCK/UNLOCK macros
- Changed LFS_THREADSAFE from 1/0 to defined/undefined to
  match LFS_READONLY
This commit is contained in:
Christopher Haster
2020-11-28 11:15:23 -06:00
parent aab8df756f
commit 1c5081adb8
3 changed files with 360 additions and 498 deletions

849
lfs.c

File diff suppressed because it is too large Load Diff