int IOEventSource::sleepGate(void *event, UInt32 type)
{
- bool res;
+ int res;
IOStatisticsOpenGate();
res = workLoop->sleepGate(event, type);
IOStatisticsCloseGate();
int IOEventSource::sleepGate(void *event, AbsoluteTime deadline, UInt32 type)
{
- bool res;
+ int res;
IOStatisticsOpenGate();
res = workLoop->sleepGate(event, deadline, type);
IOStatisticsCloseGate();