]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
fd: Drop fd_set parameter from read_nonblock() and friends.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 30 Sep 2021 19:46:58 +0000 (21:46 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 25 Aug 2022 13:37:26 +0000 (15:37 +0200)
This parameter is not necessary because its only purpose is to
avoid the readv(2) system call in case it would likely return EAGAIN
because we just called select(2) which reported that there is no data
to read. Since the parameter is an obstacle for the conversion of
the code base from select(2) to poll(2), get rid of it for the time
being. If needed we can add back an equivalent optimization which
checks for POLLIN after the conversion.


No differences found