Use of the information contained in this unapproved document is at your own risk
.Last update: 30 March,1998
1003.1c-95 #41
_____________________________________________________________________________
Interpretation Number: XXXX
Topic: pthread_cancel , pthread.h
Relevant Sections: 2.7.3, 18.2.1
Interpretation Request: (Defect Report)
-----------------------
From: Andrew Josey (on behalf of the X/Open Base working group)
Interpretation Request for:
IEEE Std 1003.1c-1995 as contained in:
ISO/IEC 9945-1:1996(E), ANSI/IEEE Std. 1003.1, 1996 Edition.
pthread_cancel() is missing from ISO 9945-1:1996 2.7.3
for pthread.h. The synopsis in 18.2.1 has it in pthread.h.
This is a contradiction.
Proposed response:
POSIX.1-1996 is unclear and allows the prototype to appear
either in pthread.h or unistd.h. It is recommended
that a future revision require it to be only in pthread.h
since the type pthread_t is required to be defined.
Interpretation response
------------------------
The standard is clear on page 45 lines 1246-1251 that any function not
listed in the table shall be in unistd.h and that unistd.h shall be
included before using the function whether or not it is mentioned in the
synopsis clause.
It is the oppinion of the interpretations committee that this is not
what the working and balloting groups intended but rather that
pthread_cancel() be defined in pthread.h. This is being referred to the
sponsor for consideration.
Rationale
-------------
None provided.
Forwarded to Interpretations group: Dec 11 1996
Proposed resolution: 17 Jan 1997
Finalised: May 8th 1997