[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Is this asking for trouble or is the bug elsewhere?



On Sun, 19 Dec 1999, Norm Dresner wrote:

> there's no static logic failure in the code.  The logic in the device
> driver is quite simple: when the appropriate read-request is received and
> the minor device number decoded (which encodes the rate), a call is made
> to sleep_on_interruptible().  That's all.  When the block is broken
> later, the code returns a 1 to signal that one byte has been transferred
> -- even though no data was really moved and that's all of the processing
> in the read-routine.

About which device driver are you talking here (RT FIFO?)? I can not
comment on wake_up_interuptible, but why don't you just use rtf_put from
RT kernel code? This should wake up the user space task blocking on read.

--
Tomek



--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/