summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pool.c
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2010-01-15 22:28:23 +0000
committerratchov <ratchov@openbsd.org>2010-01-15 22:28:23 +0000
commit487d28eb3b174a68dccf23a0afdefd95b6385654 (patch)
tree19cf7fba85ab075b4164e5a3fbf786aba20232c8 /sys/kern/subr_pool.c
parent*** empty log message *** (diff)
downloadwireguard-openbsd-487d28eb3b174a68dccf23a0afdefd95b6385654.tar.xz
wireguard-openbsd-487d28eb3b174a68dccf23a0afdefd95b6385654.zip
Keep in memory whether the socket is writable. This way sio_revents()
can return POLLOUT (if requested), even the handle was not writable when sio_pollfd() was called but become writable somewhere in the code path of sio_revents(). This should improve stability of programs using very small buffers.
Diffstat (limited to 'sys/kern/subr_pool.c')
0 files changed, 0 insertions, 0 deletions