Mercurial > ecos
diff packages/compat/uitron/current/include/uit_func.inl @ 134:d2f49caf9e38 ecos-sw-2000-11-03
Merge from eCos master repository on 2000-11-03-09:00:49-GMT
| author | jlarmour |
|---|---|
| date | Fri, 03 Nov 2000 21:17:40 +0000 |
| parents | 6ed91473a1cd |
| children | e0c0827131d1 |
line wrap: on
line diff
--- a/packages/compat/uitron/current/include/uit_func.inl +++ b/packages/compat/uitron/current/include/uit_func.inl @@ -463,7 +463,7 @@ ter_tsk ( ID tskid ) p->force_resume(); // let it run p->kill(); // and set prio high so it runs RIGHT NOW!! #ifdef CYGIMP_THREAD_PRIORITY -#if CYG_SCHED_UNIQUE_PRIORITIES != 0 +#if CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES != 0 // see if we are already at prio 0: if ( 0 == cyg_uitron_dis_dsp_old_priority ) // then dispatch is enabled, we are not at prio 0 @@ -475,7 +475,7 @@ ter_tsk ( ID tskid ) } Cyg_Scheduler::unlock(); #ifdef CYGIMP_THREAD_PRIORITY -#if CYG_SCHED_UNIQUE_PRIORITIES == 0 +#if CYGINT_KERNEL_SCHEDULER_UNIQUE_PRIORITIES == 0 if ( (E_OK == ret) && (0 != cyg_uitron_dis_dsp_old_priority) ) { // then dispatching is disabled, so our prio is 0 too Cyg_Thread::yield(); // so let the dying thread run;
