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

Rename Mutex and Cond methods for consistency #111

Merged
merged 1 commit into from
Sep 7, 2024

Commits on Sep 7, 2024

  1. Rename Mutex and Cond methods for consistency

    Previously, the names acquire/release and acquire_spec/release_spec came
    from HeapLang, and mutexes were the only place this convention was used.
    
    For consistency with how we typically name functions and specs (and to
    match Go), this commit renames to `Mutex__Lock` and `wp_Mutex__Lock`,
    and similarly for Unlock. At the same time we make the Cond methods more
    consistent with this convention, although its specs already used the
    `wp_` naming style.
    tchajed committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    e9ed8ce View commit details
    Browse the repository at this point in the history