removed if 0 for basic sporadic server case accidentally left in.

This commit is contained in:
Joel Sherrill
1996-08-07 21:38:18 +00:00
parent 7e811af1eb
commit 84b03316d1
2 changed files with 2 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ void *POSIX_Init(
) )
{ {
int status; int status;
int passes;
int schedpolicy; int schedpolicy;
int priority; int priority;
struct sched_param schedparam; struct sched_param schedparam;
@@ -55,7 +56,6 @@ void *POSIX_Init(
Init_id = pthread_self(); Init_id = pthread_self();
printf( "Init's ID is 0x%08x\n", Init_id ); printf( "Init's ID is 0x%08x\n", Init_id );
#if 0
/* try to use this thread as a sporadic server */ /* try to use this thread as a sporadic server */
puts( "Init: pthread_getschedparam - SUCCESSFUL" ); puts( "Init: pthread_getschedparam - SUCCESSFUL" );
@@ -99,7 +99,6 @@ void *POSIX_Init(
} }
} }
#endif
/* now see if this works if we are holding a priority ceiling mutex */ /* now see if this works if we are holding a priority ceiling mutex */
empty_line(); empty_line();

View File

@@ -38,6 +38,7 @@ void *POSIX_Init(
) )
{ {
int status; int status;
int passes;
int schedpolicy; int schedpolicy;
int priority; int priority;
struct sched_param schedparam; struct sched_param schedparam;
@@ -55,7 +56,6 @@ void *POSIX_Init(
Init_id = pthread_self(); Init_id = pthread_self();
printf( "Init's ID is 0x%08x\n", Init_id ); printf( "Init's ID is 0x%08x\n", Init_id );
#if 0
/* try to use this thread as a sporadic server */ /* try to use this thread as a sporadic server */
puts( "Init: pthread_getschedparam - SUCCESSFUL" ); puts( "Init: pthread_getschedparam - SUCCESSFUL" );
@@ -99,7 +99,6 @@ void *POSIX_Init(
} }
} }
#endif
/* now see if this works if we are holding a priority ceiling mutex */ /* now see if this works if we are holding a priority ceiling mutex */
empty_line(); empty_line();