mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-29 16:41:58 -05:00
Currently we use signals based on os_event's but the udev code blocks in a 1s select (now poll) that cannot be signalled without an FD. This adds an extra eventfd which will be signalled along with the os_event to trigger the poll. Also switches from select to poll to avoid issues with large fd values.