10 Feb
2009
10 Feb
'09
1:34 p.m.
Hi everyone, I am trying to get video stream from Video4Linux2 device (/dev/video*) and faced with a interesting boost::asio usecase. V4L2 device implements poll calls, so one can poll() on specific device file to wait for next portion of data, but read itself is made via ioctl. I suppose, boost::asio is a natural choice in this situation and I am wondering if there is a method to run my callback when "the data is ready to read", but without calling read()? (on the same manner as ACE::Reactor does)? Thank you.