help icon indicating copy to clipboard operation
help copied to clipboard

Need UV_HANDLE_WRITING flag for handle object.

Open bitraft opened this issue 6 years ago • 3 comments

I can use UV_HANDLE_READING to check if the handle during some read IO.

I need flags like UV_HANDLE_WRITING to know if the handle still has pending write task not finish yet. should I use UV_HANDLE_BLOCKING_WRITES ?

bitraft avatar Jul 26 '19 04:07 bitraft

uv_write_cb will always be call after uv_write| uv_write2 ? or it can be call before uv_write or uv_write2 finished ?

bitraft avatar Jul 26 '19 04:07 bitraft

You can check if writes are pending with http://docs.libuv.org/en/v1.x/stream.html#c.uv_stream_t.write_queue_size

saghul avatar Jul 26 '19 15:07 saghul

Moved to libuv/help.

bnoordhuis avatar Jul 28 '19 02:07 bnoordhuis