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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2117 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 2117.


Report 2117 Actions


    Problem Report Number 2117
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1082
    Raised 1999-12-21 08:00
    Updated 2003-03-13 08:00
    Published 1999-12-24 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.4
    Test Identification PTHR.os/all/pthread_mutex_getprioceiling 1
    Problem Summary TSD5TH.00075 The test fails because a mutex is not initialized to use the PTHREAD_PRIO_PROTECT protocol. It works with the patch: tset/PTHR.os/all/pthread_mutex_getprioceiling/pthread_mutex_getprioceiling.c 142a14...
    Problem Text
    The test fails because a mutex is not initialized to use the
    PTHREAD_PRIO_PROTECT protocol. It works with the patch:

    tset/PTHR.os/all/pthread_mutex_getprioceiling/pthread_mutex_getprioceiling.c

    142a143,149
    > rval = pthread_mutexattr_setprotocol( &ma, PTHREAD_PRIO_PROTECT );
    > if ( rval != 0 )
    > {
    > vsth_surprise("pthread_mutexattr_setprotocol", 0, rval, errors);
    > return;
    > }


    Test Output
    tset/PTHR.os/all/pthread_mutex_getprioceiling/T.pthread_mutex_getprioceiling #1

    200|321 1 20:42:28|TP Start
    520|321 1 000324909 1 1|If _POSIX_THREAD_PRIO_PROTECT is defined:
    520|321 1 000324909 1 2|a call to pthread_mutex_getprioceiling(mutex, prioceiling) stores
    520|321 1 000324909 1 3|the current value of the priority ceiling in the location referenced
    520|321 1 000324909 1 4|by prioceiling and returns 0 if successful.
    520|321 1 000324909 1 5|Posix Ref: Component PTHREAD_MUTEX_GETPRIOCEILING
    520|321 1 000324909 1 6|Assertion 9945-1:1996 13.6.2.2-1(C)
    520|321 1 000324909 1 7|Priority ceiling, expected 0, got 255
    220|321 1 1 20:42:28|FAIL
    410|321 1 1 20:42:28|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A test suite deficiency is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority