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: Thread preemption and blocking IO & device drivers


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


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