O_NONBLOCK. Open the file and expect for data without blocking. Just yield control.
Sometimes this is all you have to do. You need an answer, but you are not in control. It's OK. Just yield.
You might not like the answer when it comes. The answer will eventually come though.