summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_msync.c
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-11-25 07:01:48 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-11-25 07:01:48 +0000
commit0fe78c3128864d128b2b10153b8d533ff8c00375 (patch)
tree5229c3d97eed15f4d71927a5f454180aef2632f6 /lib/libpthread/uthread/uthread_msync.c
parented00fa742a6455d22e3b56cf846dc5acd7a51fd7 (diff)
sync with FreeBSD
Diffstat (limited to 'lib/libpthread/uthread/uthread_msync.c')
-rw-r--r--lib/libpthread/uthread/uthread_msync.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/uthread/uthread_msync.c b/lib/libpthread/uthread/uthread_msync.c
index fb7d5a7e86e..3edde1a31d4 100644
--- a/lib/libpthread/uthread/uthread_msync.c
+++ b/lib/libpthread/uthread/uthread_msync.c
@@ -1,7 +1,7 @@
/*
* David Leonard <d@openbsd.org>, 1999. Public Domain.
*
- * $OpenBSD: uthread_msync.c,v 1.2 1999/06/09 07:16:17 d Exp $
+ * $OpenBSD: uthread_msync.c,v 1.3 1999/11/25 07:01:38 d Exp $
*/
#include <sys/types.h>
@@ -18,13 +18,6 @@ msync(addr, len, flags)
{
int ret;
- /*
- * XXX This is quite pointless unless we know how to get the
- * file descriptor associated with the memory, and lock it for
- * write. The only real use of this wrapper is to guarantee
- * a cancellation point, as per the standard. sigh.
- */
-
/* This is a cancellation point: */
_thread_enter_cancellation_point();