Closed upa closed 9 years ago
poll seems to be same...
commit 62cc0bee8cea845f01f88fffc89659c4de85eebb fixes an issue of timeout value of poll(2). please check it with the updated repo.
hum... It is seems to be almost working, but, the fluctuation still remains. is it due to progress of jiffies ?
in nuse-bootp.c,
for (;;) {
if (poll(x, 1, 1) == 0) {
printf("1sec timeout %ld\n", time (NULL));
fflush(stdout);
then
<6>device eth1 entered promiscuous mode
sending bootp request for eth1.
waiting bootp reply
1sec timeout 1419331625
1sec timeout 1419331626
1sec timeout 1419331626
1sec timeout 1419331627
1sec timeout 1419331627
1sec timeout 1419331627
1sec timeout 1419331631
1sec timeout 1419331635
1sec timeout 1419331635
1sec timeout 1419331643
timeout!!
It is my issue... poll timer is now working,, sorry.
when using select with timeout on nuse process, duration of timeout is getting longer...