| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XBD 4.10 Memory Synchronization |
| From: | yyyyyyyy@xxxxxxxxxx |
| Date: | Sat, 23 Mar 2002 08:18:58 GMT |
Defect report from : Alexander Terekhov , IBM
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 100 line 3120-3128 section 4.10 Memory Synchronization comment {2}
Problem:
Defect code : 3. Clarification required
I think that pthread_cond_signal() and pthread_cond_broadcast()
should be REMOVED from the list of functions that synchronize
memory with respect to other threads because IMO applications
just cannot have any useful dependencies on pthread_cond_signal()
and/or pthread_cond_broadcast() w.r.t memory synchronization/
visibility. The predicate is fully protected by the associated
mutex with lock/unlock calls plus pthread_cond_wait() and
pthread_cond_timedwait() providing execution and memory
synchronization to the full extent.
Action:
Remove pthread_cond_signal() and pthread_cond_broadcast()
from the list of functions that synchronize memory with
respect to other threads.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XBD 4.10 Memory Synchronization, terekhov |
|---|---|
| Next by Date: | Defect in XBD 4.10 Memory Synchronization, terekhov |
| Previous by Thread: | Defect in XBD 4.10 Memory Synchronization, terekhov |
| Next by Thread: | Defect in XBD 4.10 Memory Synchronization, terekhov |
| Indexes: | [Date] [Thread] [All Lists] |