poll-loop: Make poll loop data structures per-thread.