This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: please help me


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]