[pjlib] EINTR errno status in pj_ioqueue_poll() in ioqueue_epoll.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

    When I try to use the gdb to run the test program of pjlib, I found the pj_ioqueue_epoll() will return the EINTR error statue. It is caused by the os_epoll_wait(). I get some information by google. It mentions that EINTR is not an error of os_epoll_wait. If this is happened, you can try to call os_epoll_wait again to finish the action. I suggest add some code to escape this errno. Is there any other suggestion about this situation? 

P.S. I still found some information about that the EINTR errno status in many system call (read/write/poll/sem_wait ....). pjlib should to handle these situation?

Simon Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081210/5f093767/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux