summaryrefslogtreecommitdiffstats
path: root/sys/rpc/svc.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-22 23:51:12 +0000
committermav <mav@FreeBSD.org>2014-01-22 23:51:12 +0000
commit695b5b9179f2f608ff6042914c460cc75dc11519 (patch)
tree5419eeab7a2baed05f1ecc4daeba3a78189fa04b /sys/rpc/svc.h
parentec416d0ab84b2e916ae2498d35cf43ef91370909 (diff)
downloadFreeBSD-src-695b5b9179f2f608ff6042914c460cc75dc11519.zip
FreeBSD-src-695b5b9179f2f608ff6042914c460cc75dc11519.tar.gz
MFC r260036:
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.
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r--sys/rpc/svc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index 0b2884f..051ebfb 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -523,6 +523,7 @@ __BEGIN_DECLS
extern void xprt_active(SVCXPRT *);
extern void xprt_inactive(SVCXPRT *);
extern void xprt_inactive_locked(SVCXPRT *);
+extern void xprt_inactive_self(SVCXPRT *);
__END_DECLS
#endif
OpenPOWER on IntegriCloud