Removed continuous warnings in handle_events in pjsua_core, and temporarily set default ioqueue in Linux to use select instead of epoll

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@369 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2006-03-30 20:55:20 +00:00
parent 46ecff8ab1
commit 080a2c4ce9
2 changed files with 3 additions and 2 deletions

3
configure vendored
View File

@ -41,7 +41,8 @@ elif echo $SYSTEM | grep -i linux > /dev/null; then
elif echo $KERNEL_VER | grep '^2\.0' > /dev/null; then
LINUX_EPOLL=select
else
LINUX_POLL=epoll
# LINUX_POLL=epoll
LINUX_POLL=select
fi
elif echo $SYSTEM | grep -i mingw > /dev/null; then
OS_NAME=win32

View File

@ -454,7 +454,7 @@ static int PJ_THREAD_FUNC pjsua_poll(void *arg)
pj_status_t status;
status = pjsip_endpt_handle_events (pjsua.endpt, &timeout);
if (status != last_err) {
if (status != PJ_SUCCESS && status != last_err) {
last_err = status;
pjsua_perror(THIS_FILE, "handle_events() returned error", status);
}