summaryrefslogtreecommitdiffstats
path: root/sys/sys/umtx.h
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-12-25 13:02:50 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-12-25 13:02:50 +0000
commit9476ffbed8df3ebc72f2548f9db81306e46e27e5 (patch)
tree2eeba36fb1ca4e8e0a8e9c76f7a214b11c07a3a2 /sys/sys/umtx.h
parent7b03c7ecc4225f3c91f0ca8226a08c5f578c1baa (diff)
downloadFreeBSD-src-9476ffbed8df3ebc72f2548f9db81306e46e27e5.zip
FreeBSD-src-9476ffbed8df3ebc72f2548f9db81306e46e27e5.tar.gz
Make _umtx_op() as more general interface, the final parameter needn't be
timespec pointer, every parameter will be interpreted by its opcode.
Diffstat (limited to 'sys/sys/umtx.h')
-rw-r--r--sys/sys/umtx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/umtx.h b/sys/sys/umtx.h
index 15d8434..cfac531 100644
--- a/sys/sys/umtx.h
+++ b/sys/sys/umtx.h
@@ -58,8 +58,7 @@ struct umtx {
int _umtx_lock(struct umtx *mtx);
/* deprecated becaues it can only use thread id */
int _umtx_unlock(struct umtx *mtx);
-int _umtx_op(struct umtx *umtx, int op, long id, void *uaddr,
- struct timespec *abstime);
+int _umtx_op(struct umtx *umtx, int op, long id, void *uaddr, void *uaddr2);
/*
* Standard api. Try uncontested acquire/release and asks the
OpenPOWER on IntegriCloud