Changeset 22b4b2e in rtems
- Timestamp:
- 08/01/96 19:24:57 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 870f2976
- Parents:
- 16bae52
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/pthread.c
r16bae52 r22b4b2e 233 233 } 234 234 235 /*PAGE 236 * 237 * API Extension control structures 238 */ 239 235 240 API_extensions_Control _POSIX_Threads_API_extensions = { 236 241 { NULL, NULL }, … … 435 440 /*PAGE 436 441 * 437 * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120442 * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 438 443 */ 439 444 … … 452 457 /*PAGE 453 458 * 454 * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120459 * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 455 460 */ 456 461 457 462 int pthread_attr_setschedparam( 458 pthread_attr_t 459 const struct sched_param 463 pthread_attr_t *attr, 464 const struct sched_param *param 460 465 ) 461 466 { -
c/src/exec/posix/src/time.c
r16bae52 r22b4b2e 82 82 } 83 83 84 /* 84 /*PAGE 85 * 85 86 * 14.2.1 Clocks, P1003.1b-1993, p. 263 86 87 */ … … 150 151 } 151 152 152 /* 153 /*PAGE 154 * 153 155 * 14.2.1 Clocks, P1003.1b-1993, p. 263 154 156 */ … … 168 170 169 171 case CLOCK_REALTIME: 172 #if 0 170 173 if ( !_TOD_Is_set() ) /* XXX does posix allow it to not be set? */ 171 174 set_errno_and_return_minus_one( EINVAL ); 175 #endif 172 176 173 177 _ISR_Disable( level ); … … 200 204 } 201 205 202 /* 206 /*PAGE 207 * 203 208 * 14.2.1 Clocks, P1003.1b-1993, p. 263 204 209 */ … … 229 234 } 230 235 231 /* 236 /*PAGE 237 * 232 238 * 14.2.5 High Resolution Sleep, P1003.1b-1993, p. 269 233 239 */ … … 295 301 } 296 302 297 /* 303 /*PAGE 304 * 298 305 * 20.1.3 Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55 299 306 */ … … 307 314 } 308 315 309 /* 316 /*PAGE 317 * 310 318 * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 311 319 */ … … 319 327 } 320 328 321 /* 329 /*PAGE 330 * 322 331 * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 323 332 */ -
cpukit/posix/src/pthread.c
r16bae52 r22b4b2e 233 233 } 234 234 235 /*PAGE 236 * 237 * API Extension control structures 238 */ 239 235 240 API_extensions_Control _POSIX_Threads_API_extensions = { 236 241 { NULL, NULL }, … … 435 440 /*PAGE 436 441 * 437 * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120442 * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 438 443 */ 439 444 … … 452 457 /*PAGE 453 458 * 454 * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120459 * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 455 460 */ 456 461 457 462 int pthread_attr_setschedparam( 458 pthread_attr_t 459 const struct sched_param 463 pthread_attr_t *attr, 464 const struct sched_param *param 460 465 ) 461 466 { -
cpukit/posix/src/time.c
r16bae52 r22b4b2e 82 82 } 83 83 84 /* 84 /*PAGE 85 * 85 86 * 14.2.1 Clocks, P1003.1b-1993, p. 263 86 87 */ … … 150 151 } 151 152 152 /* 153 /*PAGE 154 * 153 155 * 14.2.1 Clocks, P1003.1b-1993, p. 263 154 156 */ … … 168 170 169 171 case CLOCK_REALTIME: 172 #if 0 170 173 if ( !_TOD_Is_set() ) /* XXX does posix allow it to not be set? */ 171 174 set_errno_and_return_minus_one( EINVAL ); 175 #endif 172 176 173 177 _ISR_Disable( level ); … … 200 204 } 201 205 202 /* 206 /*PAGE 207 * 203 208 * 14.2.1 Clocks, P1003.1b-1993, p. 263 204 209 */ … … 229 234 } 230 235 231 /* 236 /*PAGE 237 * 232 238 * 14.2.5 High Resolution Sleep, P1003.1b-1993, p. 269 233 239 */ … … 295 301 } 296 302 297 /* 303 /*PAGE 304 * 298 305 * 20.1.3 Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55 299 306 */ … … 307 314 } 308 315 309 /* 316 /*PAGE 317 * 310 318 * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 311 319 */ … … 319 327 } 320 328 321 /* 329 /*PAGE 330 * 322 331 * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 323 332 */
Note: See TracChangeset
for help on using the changeset viewer.