projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change default buffer size
[lttng-ust.git]
/
libustcomm
/
ustcomm.c
diff --git
a/libustcomm/ustcomm.c
b/libustcomm/ustcomm.c
index 225d1990be042a18cf0cde7c297e92c61b48c386..0a5ab6aaaf1110d8e66a44b123f81f4d9829c878 100644
(file)
--- a/
libustcomm/ustcomm.c
+++ b/
libustcomm/ustcomm.c
@@
-272,7
+272,8
@@
int ustcomm_recv_message(struct ustcomm_server *server, char **msg, struct ustco
idx++;
}
idx++;
}
- result = poll(fds, n_fds, timeout);
+ while((result = poll(fds, n_fds, timeout)) == -1 && errno == EINTR)
+ /* nothing */;
if(result == -1) {
PERROR("poll");
return -1;
if(result == -1) {
PERROR("poll");
return -1;
This page took
0.023293 seconds
and
4
git commands to generate.