On Wed, May 24, 2017 at 10:10 AM, Przemysław Sobala <[email protected]> wrote: > another thread can call > uv_stop(loop); > uv_async_send(&loop_wakeup); > // wait for loop to successfully close > loop_mutex.lock(); > > then it blocks on loop_mutex.lock() and waits for uv_run to exit and release > (unlock) the loop_mutex, after that it exists as well.
Other threads aren't allowed to call uv_stop(), only uv_async_send(). -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
