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

open_posix_testsuite: fix pthread_cond_destroy test error. #1097

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2023

  1. open_posix_testsuite: fix pthread_cond_destroy test error.

    According to the description of the pthread_cond_destroy function in glibc 2.32,
    it is advised to ensure that all threads blocked on the condition variable have
    been successfully awakened before calling this function, otherwise unpredictable
    situations may occur.
    
    In the glibc 2.32 version, this testcase will hang. Therefore, it is necessary
    to ensure that all threads have been successfully awakened before calling
    pthread_cond_destroy to destroy the condition variable.
    
    Signed-off-by: tanqinyun.tqy <tanqinyun.tqy@alibaba-inc.com>
    tanqinyun.tqy committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    1e13d57 View commit details
    Browse the repository at this point in the history