projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved and applied Wimpy's Asterisk 1.8.x support.
[lcr.git]
/
select.c
diff --git
a/select.c
b/select.c
index
ba9b563
..
8763739
100644
(file)
--- a/
select.c
+++ b/
select.c
@@
-104,9
+104,9
@@
again:
}
if (polling)
timer = &no_time;
}
if (polling)
timer = &no_time;
-#warning TESTING
-
if (!timer)
-
printf("wait till infinity ..."); fflush(stdout);
+
//
#warning TESTING
+
//
if (!timer)
+
//
printf("wait till infinity ..."); fflush(stdout);
FD_ZERO(&readset);
FD_ZERO(&writeset);
FD_ZERO(&readset);
FD_ZERO(&writeset);
@@
-129,9
+129,9
@@
again:
rc = select(maxfd+1, &readset, &writeset, &exceptset, timer);
if (lock)
lock();
rc = select(maxfd+1, &readset, &writeset, &exceptset, timer);
if (lock)
lock();
-#warning TESTING
-
if (!timer)
-
printf("interrupted.\n");
+
//
#warning TESTING
+
//
if (!timer)
+
//
printf("interrupted.\n");
if (rc < 0)
return 0;
if (global_change && *global_change) {
if (rc < 0)
return 0;
if (global_change && *global_change) {