Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   thorpej
Date:           Wed Sep 29 02:47:22 UTC 2021

Modified Files:
        src/sys/kern: sys_select.c uipc_socket.c
        src/sys/miscfs/fifofs: fifo_vnops.c
        src/sys/sys: select.h

Log Message:
- Change selremove_knote() from returning void to bool, and return
  true if the last knote was removed and there are no more knotes
  on the selinfo.
- Use this new return value in filt_sordetach(), filt_sowdetach(),
  filt_fifordetach(), and filt_fifowdetach() to know when to clear
  SB_KOTE without having to know select/kqueue implementation details.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/kern/sys_select.c
cvs rdiff -u -r1.296 -r1.297 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.84 -r1.85 src/sys/miscfs/fifofs/fifo_vnops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/sys/select.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index