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]
Other format: [Raw text]

Re: scheduling descrepency in eCos


On Thu, Apr 03, 2003 at 06:49:43PM +0500, Rajan Srivastava wrote:
> 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?

Are you using a proper serial driver or the diag driver. The diag
driver is polled IO, not interrupt driver, so this is expected
behavior.

        Andrew

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


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