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

WIP: wrap: Implemented wraplock #13784

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 31, 2024

  1. wrap: Implemented wraplock

    To avoid raceconditions, where one instance of meson currently downloads
    a subproject defined in a wrapfile, while another either
      a. starts the download itself too
      b. attemts to evaluate the partially downloaded subproject
    wraplock introduces a lockfile, which should prevent simultaneous access
    of subprojects by wrap between different instances of meson.
    sp1ritCS committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    ce1ff7a View commit details
    Browse the repository at this point in the history
  2. wraplock: Provide no-op fallback implementation

    This is used when fnctl is not found. In these cases there will be no
    guarding of subprojects and multiple meson instances may still run into
    eachother.
    sp1ritCS committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    8e95f5d View commit details
    Browse the repository at this point in the history