os_poll
int os_poll(unsigned int n, const int *fds);
while (os_poll(1, &time_travel_ext_fd) != 0) {
while ((ret = os_poll(2, fds))) {
os_poll(1, &wake_signals);