public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Thread preemption and blocking IO & device drivers
@ 2004-09-09 15:43 Rycerz Roman-G11565
  2004-09-09 15:57 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Rycerz Roman-G11565 @ 2004-09-09 15:43 UTC (permalink / raw)
  To: Ecos-Discuss@Sources. Com (ecos-discuss@sources.redhat.com)

Hi

    I have a general question about threads and IO blocking.


If I have 2 tasks A & B.   
A is higher priority (bitmap scheduler) and does a blocking read.

Is there anything special the driver has to do to let task B to run ???


Thanks

Roman F. Rycerz
Engr Section Mgr
Test & Tools
Motorola IESS, ACES, PCSG, PCG

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Thread preemption and blocking IO & device drivers
  2004-09-09 15:43 [ECOS] Thread preemption and blocking IO & device drivers Rycerz Roman-G11565
@ 2004-09-09 15:57 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2004-09-09 15:57 UTC (permalink / raw)
  To: Rycerz Roman-G11565
  Cc: Ecos-Discuss@Sources. Com (ecos-discuss@sources.redhat.com)

On Thu, Sep 09, 2004 at 10:43:29AM -0500, Rycerz Roman-G11565 wrote:
> Hi
> 
>     I have a general question about threads and IO blocking.
> 
> 
> If I have 2 tasks A & B.   
> A is higher priority (bitmap scheduler) and does a blocking read.
> 
> Is there anything special the driver has to do to let task B to run ???

Nope, just use the normal device driver APIs and scheduling will work
correctly.

        Andrew

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-09 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 15:43 [ECOS] Thread preemption and blocking IO & device drivers Rycerz Roman-G11565
2004-09-09 15:57 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).