The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=528f8f38953d92aa917cbe70d3c72d89440624ca

commit 528f8f38953d92aa917cbe70d3c72d89440624ca
Author:     Mateusz Guzik <m...@freebsd.org>
AuthorDate: 2021-05-27 14:29:14 +0000
Commit:     Mateusz Guzik <m...@freebsd.org>
CommitDate: 2021-05-29 22:04:09 +0000

    proc: add PROC_WAIT_UNLOCKED
---
 sys/sys/proc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 8098bb9468ec..2630c2b5a1d0 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -913,6 +913,7 @@ extern pid_t pid_max;
 #define        PROC_TRYLOCK(p) mtx_trylock(&(p)->p_mtx)
 #define        PROC_UNLOCK(p)  mtx_unlock(&(p)->p_mtx)
 #define        PROC_LOCKED(p)  mtx_owned(&(p)->p_mtx)
+#define        PROC_WAIT_UNLOCKED(p)   mtx_wait_unlocked(&(p)->p_mtx)
 #define        PROC_LOCK_ASSERT(p, type)       mtx_assert(&(p)->p_mtx, (type))
 
 /* Lock and unlock a process group. */
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to