HomePhabricator

eio/fallback: fix fallback shutdown when threads exist

Authored by zmike on Jun 26 2018, 1:39 PM.

Description

eio/fallback: fix fallback shutdown when threads exist

threads should not be waited on here during shutdown since these same
threads may be waiting on the main loop anyway

instead, perform as much deallocation as possible,
mark the monitor as deleted, and then set the thread to canceled and
allow the thread to clean itself up during its cancel/end callback

@fix

Differential Revision: https://phab.enlightenment.org/D6440

Marcel Hollerbach <mail@marcel-hollerbach.de> committed rEFL1b18a4e67971: eio/fallback: fix fallback shutdown when threads exist (authored by zmike).Jun 28 2018, 9:08 AM