This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gets() and task scheduling stopped
- From: "Sam Sortais" <sams at myself dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 11 Jan 2002 09:26:23 +0800
- Subject: Re: [ECOS] gets() and task scheduling stopped
>Jonathan Larmour wrote:
>> Gary Thomas wrote:
[...]
>> I know it's a bit late, but I wonder if we
>> should have defined
>> CYGACC_COMM_IF_GETC_NONBLOCK instead of
>> CYGACC_COMM_IF_GETC so the looping
>> is done outside of the ROM monitor. Maybe
>> we should, and switch to that?
> Yes, that would help. There would still be
> [short] periods where things
> are turned off, but overall the system
> would keep running.
Thanks Jifl, Jesper and Gary for helping to
understand where the scheduler was locked.
To solve my current problem, I will try to use a socket or interrupt driven serial driver to do IOs as you suggested but surely changing to GETC_NONBLOCK would improved things. I will give it a try tomorrow (need to go now...).
Thanks, Sam.
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
1 cent a minute calls anywhere in the U.S.!
http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com