> You could do something like:
>     
> for (;;) {
>     cyg_mutex_lock()
>     cyg_thread_set_priority(cyg_thread_get_priority()-1);
>     work();
>     cyg_mutex_unlock
>     cyg_thread_set_priority(cyg_thread_get_priority()+1);
> }

Duh! Forget that, it does not work!

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to