Thread (8 messages) flat view 8 messages, 4 authors, 2018-05-17

Re: [PATCH BlueZ] shared/io-ell: Add support for ELL based IO handling

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2018-05-17 08:01:58

Hi,
On Wed, May 16, 2018 at 5:42 PM Denis Kenzior [off-list ref] wrote:
Hi,
quoted
quoted
+
+    do {
+            ret = writev(fd, iov, iovcnt);
+    } while (ret < 0 && errno == EINTR);
explain this one to me. Or maybe Luiz should explain it since he
introduced this.
quoted
I'm curious why not use TEMP_FAILURE_RETRY macro?  ell already uses that
for clarity.
Szymon was actually suggesting that we should have something similar in
ell, e.g. l_io_send, it would be nice if that would handle iovec similarly
to how is done here but perhaps using the TEMP_FAILURE_RETRY as suggested
by Denis.

-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help