Skip to content
Snippets Groups Projects
  • Dmitry Simonenko's avatar
    ca51cbe9
    lua-socket-race-fix: race fix in coeio_custom. · ca51cbe9
    Dmitry Simonenko authored
    Fix race between fiber_yield_timeout() and completed
    request during yield itself. In that case eio_poll will
    complete request and free its handle. eio_cancel try to
    cancel completed and freed request.
    Also, fix unpredictable result during timedout test.
    ca51cbe9
    History
    lua-socket-race-fix: race fix in coeio_custom.
    Dmitry Simonenko authored
    Fix race between fiber_yield_timeout() and completed
    request during yield itself. In that case eio_poll will
    complete request and free its handle. eio_cancel try to
    cancel completed and freed request.
    Also, fix unpredictable result during timedout test.