In reply to jstickle:
Hi John,
I am not sure what you mean by “0-time call”, but I understand that peek() is a blocking call, just like get().
Yes, I am in fact peeking before the data actually got placed in the fifo and I want peek() to block until data got placed in the fifo.
Here is a test case.
Regards,
Elmar