Submitter: Tom Plum
Submission Date: 2012-03-20
Source: WG14
Reference Document:
N1614
Version: 1.1
Date: April 2013
Subject: Typos in 6.27 Threads <threads.h>
The enumeration constants arethe "test and return" is referring towhich is passed tomtx_plain
mtx_init
to create a mutex object that supports neither timeout nor test and return;
try_lock
, try_lock
is not optional, therefore the "test and return" should be removed.
TheThere are not six values listed, "six" should be changed to "these".mtx_init
function creates a mutex object with properties indicated bytype
,
which must have one of the six values:
mtx_plain
for a simple non-recursive mutex,
mtx_timed
for a non-recursive mutex that supports timeout,
mtx_plain | mtx_recursive
for a simple recursive mutex, or
mtx_timed | mtx_recursive
for a recursive mutex that supports timeout.
Suggested Technical Corrigendum
The enumeration constants areChange 7.26.4.2 paragraph 2 towhich is passed tomtx_plain
mtx_init
to create a mutex object that does not support timeout;
Themtx_init
function creates a mutex object with properties indicated bytype
,
which must have one of the these values:
Committee Discussion
Adopt the Suggested Technical Corregendum as proposed.
Proposed Technical Corrigendum
The enumeration constants areChange 7.26.4.2 paragraph 2 towhich is passed tomtx_plain
mtx_init
to create a mutex object that does not support timeout;
Themtx_init
function creates a mutex object with properties indicated bytype
,
which must have one of the these values: