File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Contributors:
2121 Masaki Muranaka, various patches
2222 Nicolas, for the win32 port of libartnet
2323 Nils Van Zuijlen, typos and python lib small update
24+ Perry Naseck, EPoll delay fix
2425 Peter Newman, MilInst Plugin, Scanlime Fadecandy support and numerous fixes
2526 Ravindra Nath Kakarla, RDM Test Server (Google Summer of Code 2012)
2627 Rowan Maclachlan (hippy) for various changes
Original file line number Diff line number Diff line change @@ -311,8 +311,10 @@ bool EPoller::Poll(TimeoutManager *timeout_manager,
311311 }
312312
313313 int ms_to_sleep = sleep_interval.InMilliSeconds ();
314+ // If we haven't been asked to wait as part of the poll interval, then don't
315+ // wait in the epoll to allow for fast streaming
314316 int ready = epoll_wait (m_epoll_fd, reinterpret_cast <epoll_event*>(&events),
315- MAX_EVENTS, ms_to_sleep ? ms_to_sleep : 1 );
317+ MAX_EVENTS, ms_to_sleep ? ms_to_sleep : 0 );
316318
317319 if (ready == 0 ) {
318320 m_clock->CurrentMonotonicTime (&m_wake_up_time);
You can’t perform that action at this time.
0 commit comments