Question: Returning values from kernel FIFO to userspace
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