Skip to content
Snippets Groups Projects
Commit 9d6cbe22 authored by Paul Belanger's avatar Paul Belanger
Browse files

Merged revisions 302462 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r302462 | pabelanger | 2011-01-19 12:09:35 -0500 (Wed, 19 Jan 2011) | 9 lines
  
  Merged revisions 302461 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    r302461 | pabelanger | 2011-01-19 12:08:01 -0500 (Wed, 19 Jan 2011) | 2 lines
    
    Handle 'Resource temporarily unavailable' error more gracefully.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@302463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 750dff4f
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ static void timerfd_timer_ack(int handle, unsigned int quantity)
do {
read_result = read(handle, &expirations, sizeof(expirations));
if (read_result == -1) {
if (errno == EINTR) {
if (errno == EINTR || errno == EAGAIN) {
continue;
} else {
ast_log(LOG_ERROR, "Read error: %s\n", strerror(errno));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment