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

Locks mutexed #2582

Merged
merged 4 commits into from
Feb 24, 2022
Merged

Locks mutexed #2582

merged 4 commits into from
Feb 24, 2022

Commits on Feb 24, 2022

  1. Keep the lock structs in a local map, protected by a mutex.

    There must be only one Flock struct per lock file. If that
    is existing, no other routine or process may get a lock.
    dragotin committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    c1c9383 View commit details
    Browse the repository at this point in the history
  2. Add Changelog

    dragotin committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    b1112e5 View commit details
    Browse the repository at this point in the history
  3. Use sync.Map for a thread save local storage of locks.

    Some more cleanups.
    dragotin committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    0628ef1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5500024 View commit details
    Browse the repository at this point in the history