Fix: handle_notification_thread_command: handle partial read
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 12 Dec 2018 20:11:15 +0000 (15:11 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Dec 2018 21:02:47 +0000 (16:02 -0500)
commit5ca61505aee955dcf5bf93b3ce5a1da20a6066d2
treeca4b97f68ef3f6e2e68730b341de556a11b01f98
parent6330b03b8010a5481c7649fd2f65f547cc0ebcd9
Fix: handle_notification_thread_command: handle partial read

Use lttng_read() to handle partial reads (returning less than the
requested amount of bytes) as well as ret = -1, errno == EINTR.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-events.c
This page took 0.024412 seconds and 4 git commands to generate.