HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2097 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2097.


Report 2097 Actions


    Problem Report Number 2097
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0604
    Raised 2000-11-17 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.2.1
    Test Identification PTHR.os/mutexattr_rt/pthread_mutexattr_setprotocol 5
    Problem Summary PG5TH.00012 The test fails occasionally due to an unavoidable race condition in the test. The test cannot reliably test what it is purporting to test. This is the nature of multi-threading. A pthread_cond_broadca...
    Problem Text
    The test fails occasionally due to an unavoidable race condition in
    the test. The test cannot reliably test what it is purporting to
    test. This is the nature of multi-threading. A pthread_cond_broadcast()
    wakes up everyone sleeping on the condition variable and lets them
    fight over the mutex.
    Test Output
    ******************************************************************************************************
    /tset/PTHR.os/mutexattr_rt/pthread_mutexattr_setprotocol/T.pthread_mutexattr_setprotocol 5 Failed

    Test Information:
    When a thread owns a mutex whose protocol attribute
    has been set to a value of PTHREAD_PRIO_NONE,
    then its priority and scheduling are not affected by
    its mutex ownership.
    Posix Ref: Component PTHREAD_MUTEXATTR_SETPROTOCOL
    Assertion 9945-1:1996 13.6.1.2-5(A)

    ******************************************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is recommended that this request is refused because according to the POSIX.1c
    Standard Section 11.4.3.2, pthread_cond_broadcast() unblocks
    all threads currently blocked , and if more that one thread is blocked on a condition
    variable, the scheduling policy determines the order in which threads are unblocked.

    So the broadcast wakes all of the pthreads up, they do fight for the mutex, but the
    highest priority will win.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority