Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: keiichi-mipv6-base
Revision 1.154 / (download) - annotate - [select for diffs], Thu Mar 20 19:23:15 2008 UTC (5 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Changes since 1.153: +56 -3
lines
Diff to previous 1.153 (colored)
- Extract the guts of soo_poll() into sopoll(), which takes a struct socket *. This is for netsmb which wants to poll sockets directly. - When polling a socket, first check for pending I/O without acquring any locks. If no I/O seems to be pending, acquire locks/spl and check again doing selrecord() if necessary.