>> There are similar structures in fifo.h and dynamic_fifo.h (they are
>> ugly, and only used in kernel). I think it would be ok to just provide
>> thread +overflow/underflow safe wrappers on top these implementations.
>
> mmm, you are right, no need to move the i8042 circular buffer to libc...
> It could be built on top of fifo.h maybe

Oh well, fifo.h is really a barebone version of a fifo... It doesn't
check for overflows/underflows and
it does not even raise an error if the initialization fails.

It needs to be improved a little bit to be usable.


--
--------------------
Maurizio Lombardi

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to