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

test uv_barrier_t size in right block #36

Closed
wants to merge 1 commit into from
Closed

test uv_barrier_t size in right block #36

wants to merge 1 commit into from

Commits on Feb 12, 2024

  1. test uv_barrier_t size in right block

    the local uv_barrier_t implementation is used: for AIX, OpenBSD and any system
    not defining PTHREAD_BARRIER_SERIAL_THREAD.
    
    as the uv_barrier_t struct was modified and it isn't a pointer anymore, the
    check for uv_barrier_t size isn't right anymore for systems not using local
    uv_barrier_t implementation. so move the check inside the block implementing
    uv_barrier_t using pthread_barrier_t.
    
    tested on OpenBSD, where the build failed due to the STATIC_ASSERT().
    semarie committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    43d23e3 View commit details
    Browse the repository at this point in the history