diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-05-15 23:19:52 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-05-15 23:19:52 +0000 |
| commit | d58f6ddef7913f92c5fc52291911557391bb0fe6 (patch) | |
| tree | 7b0d36a42b3ba6250002826f1e6ef1c72bd8cbf1 | |
| parent | f5d325c599e1ffd48c048b6e1f70791f8801420a (diff) | |
Notes
| -rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 2d2f1f83f851..d953b1d8ad79 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -447,6 +447,7 @@ sigonstack(size_t sp) /* Lock and unlock a process. */ #define PROC_LOCK(p) mtx_lock(&(p)->p_mtx) +#define PROC_TRYLOCK(p) mtx_trylock(&(p)->p_mtx) #define PROC_UNLOCK(p) mtx_unlock(&(p)->p_mtx) #define PROC_UNLOCK_NOSWITCH(p) \ mtx_unlock_flags(&(p)->p_mtx, MTX_NOSWITCH) |
