git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1775
270642c3-0616-0410-b53a-bc976706d245
struct dvb_frontend_event ev ;
::memset(&ev, 0, sizeof(struct dvb_frontend_event));
-
+std::cerr<<"DVBFrontendSocketProtocol::getEvent\n";
if (::ioctl(fd(), FE_GET_EVENT, &ev)) {
switch(errno) {
case EBADF:
case EWOULDBLOCK:
SENF_THROW_SYSTEM_EXCEPTION( "No event pending and device is in nonblocking mode." );
break;
+ case EINTR:
+ // TODO: ignore EINTR. which might be caused by watchdog signals. This is possibly not the solution, but should work
+ break;
default:
SENF_THROW_SYSTEM_EXCEPTION("Errno: ") << errno;
}