Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Nix vestigial references to MUTEX_GIVE and MUTEX_REC...



details:   https://anonhg.NetBSD.org/src/rev/ed6d293dc27d
branches:  trunk
changeset: 461569:ed6d293dc27d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Nov 30 15:34:07 2019 +0000

description:
Nix vestigial references to MUTEX_GIVE and MUTEX_RECEIVE in comments.

diffstat:

 sys/sys/mutex.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (23 lines):

diff -r 30a1e8cd31a9 -r ed6d293dc27d sys/sys/mutex.h
--- a/sys/sys/mutex.h   Sat Nov 30 14:21:16 2019 +0000
+++ b/sys/sys/mutex.h   Sat Nov 30 15:34:07 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mutex.h,v 1.22 2017/09/16 23:25:35 christos Exp $      */
+/*     $NetBSD: mutex.h,v 1.23 2019/11/30 15:34:07 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -63,13 +63,6 @@
  *             [additionally:]
  *             volatile integer        mtx_id
  *
- *     MUTEX_RECEIVE(mtx)
- *             Post a load fence after acquiring the mutex, if necessary.
- *
- *     MUTEX_GIVE(mtx)
- *             Post a load/store fence after releasing the mutex, if
- *             necessary.
- *
  *     MUTEX_CAS(ptr, old, new)
  *             Perform an atomic "compare and swap" operation and
  *             evaluate to true or false according to the success



Home | Main Index | Thread Index | Old Index