From 22b4b2e0d281d0612d1e9b0bb479463580097ee0 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Aug 1996 19:24:57 +0000 Subject: added page delimiters for comment blocks --- cpukit/posix/src/pthread.c | 13 +++++++++---- cpukit/posix/src/time.c | 23 ++++++++++++++++------- 2 files changed, 25 insertions(+), 11 deletions(-) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index dd8027c4f2..a4ca778f50 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -232,6 +232,11 @@ void _POSIX_Threads_Initialize_user_threads( void ) } } +/*PAGE + * + * API Extension control structures + */ + API_extensions_Control _POSIX_Threads_API_extensions = { { NULL, NULL }, NULL, /* predriver */ @@ -434,7 +439,7 @@ int pthread_attr_setschedpolicy( /*PAGE * - * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120 + * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 */ int pthread_attr_getschedpolicy( @@ -451,12 +456,12 @@ int pthread_attr_getschedpolicy( /*PAGE * - * 13.5.1 Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120 + * 13.5.1 Thread Creation Scheduling Parameters, P1003.1c/Draft 10, p. 120 */ int pthread_attr_setschedparam( - pthread_attr_t *attr, - const struct sched_param *param + pthread_attr_t *attr, + const struct sched_param *param ) { if ( !attr || !attr->is_initialized ) diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c index 1af360c359..40c5332759 100644 --- a/cpukit/posix/src/time.c +++ b/cpukit/posix/src/time.c @@ -81,7 +81,8 @@ time_t time( return seconds_since_epoch; } -/* +/*PAGE + * * 14.2.1 Clocks, P1003.1b-1993, p. 263 */ @@ -149,7 +150,8 @@ int clock_settime( return 0; } -/* +/*PAGE + * * 14.2.1 Clocks, P1003.1b-1993, p. 263 */ @@ -167,8 +169,10 @@ int clock_gettime( switch ( clock_id ) { case CLOCK_REALTIME: +#if 0 if ( !_TOD_Is_set() ) /* XXX does posix allow it to not be set? */ set_errno_and_return_minus_one( EINVAL ); +#endif _ISR_Disable( level ); seconds = _TOD_Seconds_since_epoch; @@ -199,7 +203,8 @@ int clock_gettime( return 0; } -/* +/*PAGE + * * 14.2.1 Clocks, P1003.1b-1993, p. 263 */ @@ -228,7 +233,8 @@ int clock_getres( return 0; } -/* +/*PAGE + * * 14.2.5 High Resolution Sleep, P1003.1b-1993, p. 269 */ @@ -294,7 +300,8 @@ int nanosleep( } -/* +/*PAGE + * * 20.1.3 Accessing a Process CPU-time CLock, P1003.4b/D8, p. 55 */ @@ -306,7 +313,8 @@ int clock_getcpuclockid( return POSIX_NOT_IMPLEMENTED(); } -/* +/*PAGE + * * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 */ @@ -318,7 +326,8 @@ int clock_setenable_attr( return POSIX_NOT_IMPLEMENTED(); } -/* +/*PAGE + * * 20.1.5 CPU-time Clock Attribute Access, P1003.4b/D8, p. 58 */ -- cgit v1.2.3