poll 系统调用timeout 不返回

TIME_OUT_THIRTY_MILLI  30

status = poll((struct pollfd*)&poll_events, ONE, TIME_OUT_THIRTY_MILLI);


[ 53.080533] NdVideoDec_0 [0] S [d5221f80] c04b6b7c 0 1918 0x00000000 1 (user thread)
[ 53.080538] Backtrace: 
[ 53.080550] [] (__schedule+0x0/0x5d0) from [] (schedule+0x90/0x94)
[ 53.080565] [] (schedule+0x0/0x94) from [] (schedule_hrtimeout_range_clock+0xdc/0x110)
[ 53.080581] [] (schedule_hrtimeout_range_clock+0x0/0x110) from [] (schedule_hrtimeout_range+0x1c/0x20)
[ 53.080601] r7:d529fc04 r6:00000000 r5:d529e000 r4:d529e020
[ 53.080614] [] (schedule_hrtimeout_range+0x0/0x20) from [] (poll_schedule_timeout+0x60/0xc4)
[ 53.080629] [] (poll_schedule_timeout+0x0/0xc4) from [] (do_sys_poll+0x2b4/0x358)
[ 53.080652] r8:00000000 r7:d529fc04 r6:d529ff80 r5:00000000 r4:00000000
[ 53.080652] r3:0000c350
[ 53.080662] [] (do_sys_poll+0x0/0x358) from [] (SyS_poll+0x6c/0xd0)
[ 53.080676] [] (SyS_poll+0x0/0xd0) from [] (ret_fast_syscall+0x0/0x48)
[ 53.080695] r7:000000a8 r6:a5879b28 r5:0000cf27 r4:01318030

timeout 是要时钟粒度的整数倍.  susv3  规定 
 

[84894.339985] user(kb/kb) 
[84894.347025] task [CPU] PC stack_usage pid prio sprio policy time_slice[x4ms]
[84894.355942] init [0] S 00011A46 0/0136 1 120 120 0 25

你可能感兴趣的:(poll 系统调用timeout 不返回)