chore: EiEventQueueBuffer, conform to naming conventions

This commit is contained in:
sithlord48
2025-08-06 19:10:51 -04:00
committed by Chris Rizzitello
parent 9442295227
commit 2ba7fb2f05
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ EiEventQueueBuffer::~EiEventQueueBuffer()
close(m_pipeWrite);
}
void EiEventQueueBuffer::waitForEvent(double timeout_in_ms)
void EiEventQueueBuffer::waitForEvent(double msTimeout)
{
Thread::testCancel();
@ -59,7 +59,7 @@ void EiEventQueueBuffer::waitForEvent(double timeout_in_ms)
pfds[s_pipeFd].fd = m_pipeRead;
pfds[s_pipeFd].events = POLLIN;
int timeout = (timeout_in_ms < 0.0) ? -1 : static_cast<int>(1000.0 * timeout_in_ms);
int timeout = (msTimeout < 0.0) ? -1 : static_cast<int>(1000.0 * msTimeout);
if (int retval = poll(pfds, s_pollFdCount, timeout); retval > 0) {
if (pfds[s_eiFd].revents & POLLIN) {

View File

@ -31,7 +31,7 @@ public:
{
// do nothing
}
void waitForEvent(double timeout_in_ms) override;
void waitForEvent(double msTimeout) override;
Type getEvent(Event &event, uint32_t &dataID) override;
bool addEvent(uint32_t dataID) override;
bool isEmpty() const override;