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

fscache: make fscache_enable() thread safe #1934

Merged
merged 1 commit into from
Nov 26, 2018
Merged

fscache: make fscache_enable() thread safe #1934

merged 1 commit into from
Nov 26, 2018

Commits on Nov 22, 2018

  1. fscache: make fscache_enable() thread safe

    The recent change to make fscache thread specific relied on fscache_enable()
    being called first from the primary thread before being called in parallel
    from worker threads.  Make that more robust and protect it with a critical
    section to avoid any issues.
    
    Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Ben Peart <benpeart@microsoft.com>
    benpeart authored and dscho committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    3707e4c View commit details
    Browse the repository at this point in the history