Welcome to the Linux Foundation Forum!

reboot after select api

Hi,
I am using select call in my application to monitor a sysfs entry.
The sysfs entry will be toggled at a rate of 1000 samples per second.
I added the file descriptor in exceptfds list.
When I used select call with timeout parameter as NULL. After few seconds the system hanged and reboot occured.
When I used select call with timeout as 1 minute I didnt face any issue.
Can anyone please provide the reason?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training