slept too long in select()

2013-12-25 Thread Erez D
hello i've wrote a native c++ program on linux it uses select to wait on events. int n=select(maxFd+1,rfd,wfds,NULL, timeval); some times, time spent in select() is larger than the time originally in timeval prior to calling select. i see that many time when i run it on my phone (android). is

Re: slept too long in select()

2013-12-25 Thread Erez D
too long in select() hello i've wrote a native c++ program on linux it uses select to wait on events. int n=select(maxFd+1,rfd,wfds,NULL, timeval); some times, time spent in select() is larger than the time originally in timeval prior to calling select. i see that many time when i run

Re: slept too long in select()

2013-12-25 Thread Jonathan Ben Avraham
+0200 From: Erez D erez0...@gmail.com To: linux-il linux-il@cs.huji.ac.il Subject: slept too long in select() hello i've wrote a native c++ program on linux it uses select to wait on events. int n=select(maxFd+1,rfd,wfds,NULL, timeval); some times, time spent in select() is larger than the time