Skip to content
Snippets Groups Projects
  • Nicolas "Pixel" Noble's avatar
    e57dd66c
    Cascade-kick pollsets when shutting down. · e57dd66c
    Nicolas "Pixel" Noble authored
    In the case we're using a threadpool, depending on where the threads are waiting in completion queue's next, they'll get stuck on shutdown because we're only kicking one of them. Instead, let's cascade-kick the pollsets when we shutdown so that we make sure all of them are exitting properly.
    e57dd66c
    History
    Cascade-kick pollsets when shutting down.
    Nicolas "Pixel" Noble authored
    In the case we're using a threadpool, depending on where the threads are waiting in completion queue's next, they'll get stuck on shutdown because we're only kicking one of them. Instead, let's cascade-kick the pollsets when we shutdown so that we make sure all of them are exitting properly.