| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Defect in XBD pthread.h |
| From: | Geoff Clare <yyy@xxxxxxxxxxxxx> |
| Date: | Thu, 2 Feb 2006 11:56:32 +0000 |
@ page 290 line 10245-10257 section pthread.h objection [gwc pthread.h shading] Problem: Defect code : 1. Error On the pthread.h page the PTHREAD_PROCESS_SHARED and PTHREAD_PROCESS_PRIVATE constants have no option shading. However, all of the functions that use these constants have either a TSH shading (pthread_*_getpshared() and pthread_*_setpshared()) or SPI shading (pthread_spin_init()). Likewise the PTHREAD_EXPLICIT_SCHED and PTHREAD_INHERIT_SCHED constants have no shading, but the functions that use them (pthread_attr_setinheritsched() and pthread_attr_getinheritsched()) have TPS shading. It would appear that leaving these constants unshaded was probably an oversight. Action: Add TPS shading to the PTHREAD_EXPLICIT_SCHED and PTHREAD_INHERIT_SCHED constants (lines 10245 and 10256). Add TSH|SPI shading to the PTHREAD_PROCESS_SHARED and PTHREAD_PROCESS_PRIVATE constants (lines 10256 and 10257). |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XSH pthread_mutexattr_setprotocol, khoroshilov |
|---|---|
| Next by Date: | Defect in XCU 2.6.3, roland.illig |
| Previous by Thread: | Defect in XBD pthread.h, nikolay.zhuravlev |
| Next by Thread: | Defect in XCU 2.5.3 IFS, Geoff Clare |
| Indexes: | [Date] [Thread] [All Lists] |