This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: please help me
- To: A Shobhan <shobana at in dot ceeyes dot com>
- Subject: Re: [ECOS] please help me
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 03 Aug 2001 13:30:17 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <007601c11bdb$bd41fa10$0f09010a@shobhan>
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