pthread_rwlockattr_setkind_np incomplete, has impacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
There are problems with pthread_
First, the manpage refers to three possible settings, but these settings are
absent from the LSB Data Definitions, and thus from the SDK headers, rendering
the function useless. From upstream pthread.h:
enum
{
PTHREAD_
PTHREAD_
PTHREAD_
PTHREAD_
};
Second, the LSB manpage (which was also submitted to the Linux Manpages project
in 2010, although I don't see the page even in recent releases, or in the git
tree at git://git.
define all three types - there is no description of the behavior of
PTHREAD_
Third, since the behavior of thread read-write locks is changed by manipulating
the attributes object in this way, the POSIX description of the behavior of
read-write locks, which is referenced directly by LSB through the various
pages, is no longer completely accurate, and LSB should have a delta manpage
indicating the difference. I have not looked at all of the pages, but
certainly the combined pthread_
should have a note on the impact of changing this "kind" attribute. Indeed,
the Linux manpages should reflect this difference as well - and as far as I can
see the entire read-write lock set is only documented by way of imported POSIX
pages.
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
tags: | added: zclose |