git: kernel - More kqueue work

看板DFBSD_commit作者時間15年前 (2010/08/14 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8c4ed4265ed709e0ff2e164b292fd6b3febef5d3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Aug 13 14:05:45 2010 -0700 kernel - More kqueue work * Only set EV_EOF in the read filter after all pending data has been exhausted. * This also fixes a bug where the read filter was not setting data ready on EOF when data was pending in the buffer. * Fix bugs in the poll copyout handler. An EOF condition does not prevent other flags from getting set. Summary of changes: sys/kern/sys_generic.c | 21 ++++++++++----------- sys/kern/sys_pipe.c | 6 +++++- sys/kern/uipc_socket.c | 6 +++++- sys/vfs/fifofs/fifo_vnops.c | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c4ed4265ed709e0ff2e164b292fd6b3febef5d3 -- DragonFly BSD source repository
文章代碼(AID): #1CPRdLUQ (DFBSD_commit)