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

Defect in XSH <pthread.h>

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH <pthread.h>
From: yyyyyyy@xxxxxxxxxx
Date: Wed, 20 Mar 2002 08:23:29 GMT
        Defect report from : Ulrich Drepper , Red Hat, Inc.

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 290 line 10324-10327 section <pthread.h> objection {ud-14}

Problem:

Defect code :  1. Error

The functions pthread_rwlock_timedrdlock() and
pthread_rwlock_timedwrlock() are unconditionally required if
_POSIX_THREADS is defined.  The timeout variants of all other
synchronization functions are required only if _POSIX_TIMEOUTS is
defined.

I think these two functions should also be governed by the same option.

Action:

Shade lines 10324-10327 and mark them TMO.

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