Email List: Xaustin-review-lX
[All Lists]

Defect in XSH sem_init

To: austin-review-l@xxxxxxxxxxxxx
Subject: Defect in XSH sem_init
From: nick@xxxxxxxxxx
Date: Tue, 16 Jun 2009 00:45:23 +0100 (BST)
        Defect report from : Nick Stoughton , USENIX Association

(Please direct followup comments direct to austin-group-l@opengroup.org)

@ page 1818 line 58049 section sem_init editorial {nms-sem-base}

Problem:

Edition of Specification (Year): 2008

Defect code :  1. Error

At Issue 7, we moved the SEM option to base. However, the Application
Usage for sem_init() states "The sem_init( ) function is part of the
Semaphores option and need not be available on all implementations."

This is no longer true.

The same holds for other semaphore functions:
sem_close(), sem_destroy(), sem_getvalue(), sem_open(),sem_post(), 
sem_trywait(), sem_unlink(), and sem_wait() [this last is a pointer page to
sem_trywait()]. Note that sem_timedwait() does not suffer from the problem.


Action:

At the following page/lines, remove the words "The xx() function is part
of the Semaphores option and need not be provided on all implementations."

Page     Line
1812     57909
1814     57950
1816     57992
1818     58049
1822     58156
1823     58223
1828     58405
1830     58462

In all cases except page 1828, line 58405, replace the Application Usage with
"None." (The exception, for sem_trywait() and sem_wait(), has a second
paragraph in App Usage which will now stand alone).

<Prev in Thread] Current Thread [Next in Thread>