Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/lib/libpthread Whitespace in comments.
details: https://anonhg.NetBSD.org/src/rev/3da7ce8ac92d
branches: nathanw_sa
changeset: 506411:3da7ce8ac92d
user: nathanw <nathanw%NetBSD.org@localhost>
date: Sat Oct 26 02:17:44 2002 +0000
description:
Whitespace in comments.
diffstat:
lib/libpthread/pthread_mutex.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 504e5d3478c0 -r 3da7ce8ac92d lib/libpthread/pthread_mutex.c
--- a/lib/libpthread/pthread_mutex.c Fri Oct 25 17:26:27 2002 +0000
+++ b/lib/libpthread/pthread_mutex.c Sat Oct 26 02:17:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_mutex.c,v 1.1.2.14 2002/10/23 18:23:12 nathanw Exp $ */
+/* $NetBSD: pthread_mutex.c,v 1.1.2.15 2002/10/26 02:17:44 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -126,7 +126,8 @@
/* Okay, didn't look free. Get the interlock... */
pthread_spinlock(self, &mutex->ptm_interlock);
- /* The mutex_unlock routine will get the interlock
+ /*
+ * The mutex_unlock routine will get the interlock
* before looking at the list of sleepers, so if the
* lock is held we can safely put ourselves on the
* sleep queue. If it's not held, we can try taking it
@@ -134,7 +135,8 @@
*/
if (mutex->ptm_lock == __SIMPLELOCK_LOCKED) {
PTQ_INSERT_TAIL(&mutex->ptm_blocked, self, pt_sleep);
- /* Locking a mutex is not a cancellation
+ /*
+ * Locking a mutex is not a cancellation
* point, so we don't need to do the
* test-cancellation dance. We may get woken
* up spuriously by pthread_cancel, though,
Home |
Main Index |
Thread Index |
Old Index