[ECOS] please help me
Jonathan Larmour
jlarmour@redhat.com
Fri Aug 3 05:31:00 GMT 2001
A Shobhan wrote:
>
> Hi,
>
> I have a multi threaded program consists of just two threads on ARM =
> 7TDMI SOC target. The program is running fine if the eCos is built with =
> "Bitmap Scheduler" option, I am able to create Mutex and =
> cyg_thread_delay() is also working fine. If I use "Multi Level Scheduler =
> with Time Slicing Enabled" option the program is hanging at =
> cyg_mutex_init() and no thread is working. The cyg_thread_delay() is =
> also hanging.=20
>
> Why the cyg_mutex_init() is hanging in Multi level scheduler and not in =
> Bitmap scheduler?
> Why cyg_thread_delay() is hanging in Multi level scheduler and not in =
> Bitmap scheduler?
You've probably made some assumption somewhere that you wouldn't get
timesliced. But without seeing the program, we can't tell for sure!
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list