Red Hat Bugzilla – Bug 61485
Man page for deprecated function pthread_mutexattr_setkind_np should be replaced by man page for pthread_mutexattr_settype
Last modified: 2007-04-18 12:41:02 EDT
Description of problem:
The functions pthread_mutexattr_setkind_np
and pthread_mutexattr_getkind_np are deprecated and replaced
by pthread_mutexattr_settype and pthread_mutexattr_gettype.
But the man page for pthread_mutexattr_setkind_np still exists,
and there is no man page for pthread_mutexattr_settype.
Steps to Reproduce:
1. man pthread_mutexattr_setkind_np
2. man pthread_mutexattr_settype
Those man-pages are part of glibc-devel... reassigning.
The statement is basically correct. Whether the documentation for
pthread_mutexattr_setkind_np should go away is another question. It still
exists. I'd have no problems with seeing it gone. But it's also useful
it contain a big fat warning and a pointer to pthread_mutexattr_settype.
pthread_mutexattr_setkind_np still exists in libpthread.so
but is no longer declared in <pthread.h>.
Fixed in glibc-devel-2.2.5-32.