Re:Question: Returning values from kernel FIFO to userspace

From: \\\"shaheed r. haque\\\"
Date: Sat Nov 08 2003 - 16:38:27 EST



I'm not sure if this is compatible with the zen of /proc, but one technique for
handling such "destructive reads" from a FIFO, is to only pop the FIFO with an
explicit operation, such as a write.

Perhaps this can work for you?

Thanks, Shaheed


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/