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

gh-112606: Use pthread_cond_timedwait_relative_np in parking_lot.c when available #112616

Merged
merged 2 commits into from
Jan 30, 2024

Commits on Jan 29, 2024

  1. Use pthread_cond_timedwait_relative_np for MacOS futex implementati…

    …on in
    
    `parking_lot.c`
    
    Adds a configure define for `HAVE_PTHREAD_COND_TIMEDWAIT_RELATIVE_NP` and
    replaces `pthread_cond_timedwait` with `pthread_cond_timedwait_relative_np`
    for relative time when supported in semaphore waiting logic.
    mattprodani committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    2983bb7 View commit details
    Browse the repository at this point in the history
  2. remove newline

    mattprodani committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    0f3c922 View commit details
    Browse the repository at this point in the history