2019-03-15 02:37:38 +01:00
|
|
|
/*
|
|
|
|
* IXSelectInterrupt.cpp
|
|
|
|
* Author: Benjamin Sergeant
|
|
|
|
* Copyright (c) 2019 Machine Zone, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "IXSelectInterrupt.h"
|
|
|
|
|
|
|
|
namespace ix
|
|
|
|
{
|
|
|
|
SelectInterrupt::SelectInterrupt()
|
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
SelectInterrupt::~SelectInterrupt()
|
|
|
|
{
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SelectInterrupt::init(std::string& /*errorMsg*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SelectInterrupt::notify(uint64_t /*value*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
uint64_t SelectInterrupt::read()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool SelectInterrupt::clear()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2019-03-15 19:41:57 +01:00
|
|
|
int SelectInterrupt::getFd() const
|
2019-03-15 02:37:38 +01:00
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
2019-09-23 19:25:23 +02:00
|
|
|
} // namespace ix
|