CYPOLL_SHUTDOWN
while ((sc->poll_flags & CYPOLL_SHUTDOWN) == 0) {
atomic_set_int(&sc->poll_flags, CYPOLL_SHUTDOWN);