This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
scheduling descrepency in eCos
- From: Rajan Srivastava <rajan at cdotd dot ernet dot in>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 3 Apr 2003 18:49:43 +0500 (GMT+0500)
- Subject: [ECOS] scheduling descrepency in eCos
- >received: from sagit.cdotd.ernet.in by cdotd.cdotd.ernet.in (SMI-8.6/SMI-SVR4)id SAA04136; Thu, 3 Apr 2003 18:48:43 -0500
Hi,
We are facing a scheduling problem in eCos anonymous cvs
(used for Motorola PowerPC860).
We have a thread each at priority 14 & 25. Priority 14
thread has a "gets()" in its code and hence always waits
for some input from keyboard. So, ideally, this priority-14
thread should get descheduled and the lower priority thread
(ie, priority-25) should get CPU, but this is not happening.
We found that Priority-25 is not getting CPU at all!
What could be the reason?
Kindly help.
Regards
Rajan
-------
Rajan Srivastava, Co-ordinating Engineer (VMS/UMS)
Centre for Development of Telematics (C-DOT)
-----------------------------------------------------------------------
Address : Room No - 926, C-DOT, Akbar Bhawan, Chanakyapuri, New Delhi.
Phone No: 011-24678974 (Direct), 011-24677525 Extn-226
-----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss