git: network - Allow asynchronous shutdown and fix a MP race in

看板DFBSD_commit作者時間15年前 (2010/09/16 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit edf5c73201f87ebd973c4e5404a00e9fa92bed2a Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Sep 16 00:50:40 2010 -0700 network - Allow asynchronous shutdown and fix a MP race in soshutdown(). * The ssb_release() call in sorflush() must be protected by socket->so_rcv.ssb_token. This call is made from the user side when soshutdown() is called. * Allow shutdowns to interrupt another thread read()ing from the same descriptor by removing the user-side interlock in the shutdown code path. Summary of changes: sys/kern/uipc_socket.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/edf5c73201f87ebd973c4e5404a00e9fa92bed2a -- DragonFly BSD source repository
文章代碼(AID): #1CaSx2uR (DFBSD_commit)