diff packages/kernel/current/src/common/thread.cxx @ 132:0ae0bc38e387 ecos-sw-2000-10-31

Merge from eCos master repository on 2000-10-31-00:30:36-GMT
author jlarmour
date Tue, 31 Oct 2000 20:53:09 +0000
parents 0ec04793409a
children d397fc472bcf
line wrap: on
line diff
--- a/packages/kernel/current/src/common/thread.cxx
+++ b/packages/kernel/current/src/common/thread.cxx
@@ -841,7 +841,7 @@ Cyg_Thread::set_priority( cyg_priority n
 
     Cyg_Scheduler::scheduler.deregister_thread(this);
     
-#if CYG_SCHED_UNIQUE_PRIORITIES
+#if CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES
 
     // Check that there are no other threads at this priority.
     // If so, leave is as it is.
@@ -851,7 +851,7 @@ Cyg_Thread::set_priority( cyg_priority n
     if( Cyg_Scheduler::scheduler.unique(new_priority) )
         priority = new_priority;
 
-#else // !CYG_SCHED_UNIQUE_PRIORITIES
+#else // !CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES
 
 #ifdef CYGSEM_KERNEL_SYNCH_MUTEX_PRIORITY_INVERSION_PROTOCOL_SIMPLE
 
@@ -874,7 +874,7 @@ Cyg_Thread::set_priority( cyg_priority n
 
 #endif
     
-#endif // CYG_SCHED_UNIQUE_PRIORITIES
+#endif // CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES
 
     Cyg_Scheduler::scheduler.register_thread(this);