]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce xprt_inactive_self() -- variant for use when sure that port
authormav <mav@FreeBSD.org>
Sun, 29 Dec 2013 11:19:09 +0000 (11:19 +0000)
committermav <mav@FreeBSD.org>
Sun, 29 Dec 2013 11:19:09 +0000 (11:19 +0000)
commit082b09553bf99d782de5d8c7d673661d4dd9b442
treefceecf5876d9c9d5dc531986f5de384f9841aceb
parent4e0447c7bbe15b914ab6eeab2962a7414bb11ced
Introduce xprt_inactive_self()  -- variant for use when sure that port
is assigned to thread.  For example, withing receive handlers.  In that
case the function reduces to single assignment and can avoid locking.
sys/rpc/svc.c
sys/rpc/svc.h
sys/rpc/svc_dg.c
sys/rpc/svc_vc.c