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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2028 Actions


    Problem Report Number 2028
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0601
    Raised 1970-01-01 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.1.4
    Test Identification PTHR.os/all/pthread_mutexattr_getprioceiling 2
    Problem Summary PG5TH.00011 This testset is trying to access function even when _POSIX_THREAD_PRIO_INHERIT macro is not defined. The testset is testing an assertion part of REALTIME_THREADS Feature Group, support for which is op...
    Problem Text
    This testset is trying to access
    function even when _POSIX_THREAD_PRIO_INHERIT macro is not
    defined.
    The testset is testing an assertion part of REALTIME_THREADS




    Feature Group, support for which is optional according to CAE
    Specifications.

    On systems where _XOPEN_REALTIME_THREADS is set to -1 and
    _POSIX_THREAD_PRIO_INHERIT macro is undefined, these function
    calls may not be provided and accessing such functions will
    result
    into a test failure. These functions need not return ENOSUP
    according to the XSH5 Standard.

    The test (tset/PTHR.os/all/pthread_mutexattr_getprioceiling{2}),
    inorder
    to test an error condition, is assuming that for those systems
    where _POSIX_THREAD_PRIO_INHERIT macro is not defined and
    _XOPEN_REALTIME_THREADS is set to value -1, the functions
    are provided and will return ENOSYS. Such an error condition
    can't be tested on the system where these functions are not
    provided.

    We have not defined _POSIX_THREAD_PRIO_INHERIT macro on our
    implementation and we opt not to provide the above functions.
    The testsuite should consider the fact that implementation may
    not provide these functions and should not cause a build failure.

    There are other tests where similar error condition occur.
    They are
    tset/PTHR.os/all/pthread_mutex_getprioceiling{2}
    tset/PTHR.os/all/pthread_mutexattr_setprioceiling{6}
    tset/PTHR.os/all/pthread_mutex_setprioceiling{5}

    Test Output
    110|83
    /tset/PTHR.os/all/pthread_mutexattr_getprioceiling/T.pthread_mutexattr_getprioceiling
    11:18:59|Build Start, scenario ref 84-0
    15|83 3.3-lite 1|TCM Start
    400|83 0 1 11:18:59|IC Start
    200|83 1 11:18:59|TP Start
    520|83 1 00017876 1 1|/bin/c89
    -I/disk1/unix98/tet3.2f/vsxgen1.3/SRC/../../inc/tet3
    -I/disk1/unix98/tet3.2f/vsxgen1.3/SRC/INC
    -I/disk1/unix98/tet3.2f/vsxgen1.3/SRC/SYSINC -D_XOPEN_SOURCE=500
    -DUNDEF_MACROS -D_REENTRANT -DTET_POSIX_THREADS -DNSIG=33 -c
    pthread_mutexattr_getprioceiling.c
    520|83 1 00017876 1 2|/bin/c89 -o
    T.pthread_mutexattr_getprioceiling
    pthread_mutexattr_getprioceiling.o
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/../../lib/tet3/thrtcm.o
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/thrstartup.o
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/thrtsetlib.a
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/thrgenlib.a
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/thrvlib.a
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/libvsth.a
    /disk1/unix98/tet3.2f/vsxgen1.3/SRC/LIB/vport.a /disk1/u
    520|83 1 00017876 1
    3|nix98/tet3.2f/vsxgen1.3/SRC/../../lib/tet3/libthrapi.a
    -lpthread -lrt -liconv
    520|83 1 00017876 1 4|ld:
    520|83 1 00017876 1 5|Unresolved:
    520|83 1 00017876 1 6|pthread_mutexattr_getprioceiling
    520|83 1 00017876 1 7|*** Exit 1
    520|83 1 00017876 1 8|Stop.
    220|83 1 1 11:19:00|FAIL
    410|83 0 1 11:19:00|IC End
    130|83 0 11:19:00|Build End, scenario ref 84-0

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This request should be refused. See section 1.3 of the XSH specification,
    regarding the global requirement for all functions that are not supported in
    a feature group to be supplied as a stub indicating an error [ENOSYS] .


    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