UCX.jl icon indicating copy to clipboard operation
UCX.jl copied to clipboard

WIP: LIBUV progress

Open vchuravy opened this issue 4 years ago • 2 comments

vchuravy avatar Dec 06 '21 18:12 vchuravy

The idea here is that we should use uv_async_send to notify an Base.AsyncCondition so that we could call progress on the Libuv threadpool.

vchuravy avatar Dec 06 '21 22:12 vchuravy

This should be fine for normal requests, but AMHandler pose a problem. LibUV will coalesce signals to the same handler http://docs.libuv.org/en/v1.x/async.html so with multiple invokes to the same AM handler we might miss invokes. We would need to manage our own queue

vchuravy avatar Dec 11 '21 04:12 vchuravy