]> git.ipfire.org Git - people/ms/dhcpcd.git/commit
eloop: optimise the pselect code so it's not a wrapper for ppoll
authorRoy Marples <roy@marples.name>
Sat, 30 Jan 2021 11:04:53 +0000 (11:04 +0000)
committerRoy Marples <roy@marples.name>
Sat, 30 Jan 2021 11:04:53 +0000 (11:04 +0000)
commit01fabe6f5e0c33098e2de13b35d69297ec15e959
treea26be8d4ef987d7d67932b40a8c2a7abf01f6099
parentd747ef075ce1c9795f0a6975a1e74672166d5b21
eloop: optimise the pselect code so it's not a wrapper for ppoll

This makes the code smaller yet and also use less memory then ppoll!
Still, the API blows chunks and we still have arbitary fd limits
which we'll realistically never hit.
Also, some BSD's note potential issues with select on the same fd
across processes so ppoll is still the winner.
src/eloop.c