static void handle_queue(asio_backend_t* b) { asio_msg_t* msg; while((msg = (asio_msg_t*)ponyint_messageq_pop(&b->q)) != NULL) { asio_event_t* ev = msg->event; switch(msg->flags) { case ASIO_DISPOSABLE: pony_asio_event_send(ev, ASIO_DISPOSABLE, 0); break; default: {} } } }
static void handle_queue(asio_backend_t* b) { asio_msg_t* msg; while((msg = (asio_msg_t*)ponyint_thread_messageq_pop(&b->q #ifdef USE_DYNAMIC_TRACE , SPECIAL_THREADID_EPOLL #endif )) != NULL) { asio_event_t* ev = msg->event; switch(msg->flags) { case ASIO_DISPOSABLE: pony_asio_event_send(ev, ASIO_DISPOSABLE, 0); break; default: {} } } }