Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kmc-solid: Use the filesystem thread-safety wrapper #93847

Merged
merged 1 commit into from
Feb 19, 2022

Commits on Feb 10, 2022

  1. kmc-solid: Use the filesystem thread-safety wrapper

    Neither the SOLID filesystem API nor built-in filesystems guarantee
    thread safety by default. Although this may suffice in general embedded-
    system use cases, and in fact the API can be used from multiple threads
    without any problems in many cases, this has been a source of
    unsoundness in `std::sys::solid::fs`.
    
    This commit updates the `std` code to leverage the filesystem thread-
    safety wrapper to enforce thread safety. This is done by prefixing all
    paths passed to the filesystem API with `\TS`. (Note that relative paths
    aren't supported in this platform.)
    kawadakk committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    64406c5 View commit details
    Browse the repository at this point in the history