prefix_ bool senf::FileBody::waitReadable(senf::ClockService::clock_type timeout)
const
{
- return pollCheck(fd(), true,
+ return pollCheck(fd(), true,
(timeout==-1?-1:senf::ClockService::in_milliseconds(timeout)) );
}
prefix_ bool senf::FileBody::waitWriteable(senf::ClockService::clock_type timeout)
const
{
- return pollCheck(fd(), false,
+ return pollCheck(fd(), false,
(timeout==-1?-1:senf::ClockService::in_milliseconds(timeout)) );
}
prefix_ bool senf::FileBody::waitOOBReadable(senf::ClockService::clock_type timeout)
const
{
- return pollCheck(fd(), true,
+ return pollCheck(fd(), true,
(timeout==-1?-1:senf::ClockService::in_milliseconds(timeout)), true);
}