summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_umtx.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-08-25 06:12:53 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-08-25 06:12:53 +0000
commit8e3f035b3fe6e8293586d7be12b71498351440c8 (patch)
tree244bf38809201fa8c6b1cc0c207cf963c19902ab /sys/kern/kern_umtx.c
parent73837f2df49445b9f599115029f3e2986e48e6de (diff)
downloadFreeBSD-src-8e3f035b3fe6e8293586d7be12b71498351440c8.zip
FreeBSD-src-8e3f035b3fe6e8293586d7be12b71498351440c8.tar.gz
Add user priority loaning code to support priority propagation for
1:1 threading's POSIX priority mutexes, the code is no-op unless priority-aware umtx code is committed.
Diffstat (limited to 'sys/kern/kern_umtx.c')
-rw-r--r--sys/kern/kern_umtx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_umtx.c b/sys/kern/kern_umtx.c
index cb248a8..c6db80c 100644
--- a/sys/kern/kern_umtx.c
+++ b/sys/kern/kern_umtx.c
@@ -601,6 +601,11 @@ kern_umtx_wake(struct thread *td, void *uaddr, int n_wake)
return (0);
}
+void
+umtx_pi_adjust(struct thread *td __unused, u_char oldpri __unused)
+{
+}
+
int
_umtx_lock(struct thread *td, struct _umtx_lock_args *uap)
/* struct umtx *umtx */
OpenPOWER on IntegriCloud