projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fd31b
)
common: add debug printout for epoll.
v0.0.63
author
Krisztian Litkey
<kli@iki.fi>
Thu, 30 Oct 2014 23:59:10 +0000
(
01:59
+0200)
committer
Krisztian Litkey
<kli@iki.fi>
Fri, 31 Oct 2014 00:19:34 +0000
(
02:19
+0200)
src/common/mainloop.c
patch
|
blob
|
history
diff --git
a/src/common/mainloop.c
b/src/common/mainloop.c
index
b54c5e9
..
8f225bd
100644
(file)
--- a/
src/common/mainloop.c
+++ b/
src/common/mainloop.c
@@
-1815,6
+1815,9
@@
int mrp_mainloop_poll(mrp_mainloop_t *ml, int may_block)
if (ml->nevent > 0) {
if (ml->super_ops == NULL || ml->super_ops->poll_io == NULL) {
+ mrp_debug("polling %d descriptors with timeout %d",
+ ml->nevent, timeout);
+
n = epoll_wait(ml->epollfd, ml->events, ml->nevent, timeout);
if (n < 0 && errno == EINTR)