Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Use __pthread_volatile for ptc_waiters (Greg ...



details:   https://anonhg.NetBSD.org/src/rev/94644c27d873
branches:  trunk
changeset: 953481:94644c27d873
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 10 15:05:11 2021 +0000

description:
Use __pthread_volatile for ptc_waiters (Greg A. Woods)

diffstat:

 lib/libpthread/pthread_types.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ad2fd3345771 -r 94644c27d873 lib/libpthread/pthread_types.h
--- a/lib/libpthread/pthread_types.h    Wed Mar 10 13:30:34 2021 +0000
+++ b/lib/libpthread/pthread_types.h    Wed Mar 10 15:05:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_types.h,v 1.25 2020/06/10 22:45:15 ad Exp $    */
+/*     $NetBSD: pthread_types.h,v 1.26 2021/03/10 15:05:11 christos Exp $      */
 
 /*-
  * Copyright (c) 2001, 2008, 2020 The NetBSD Foundation, Inc.
@@ -172,7 +172,7 @@
 
        /* Protects the queue of waiters */
        __pthread_spin_t ptc_lock;
-       void *volatile ptc_waiters;
+       void *__pthread_volatile ptc_waiters;
        void *ptc_spare;
 
        pthread_mutex_t *ptc_mutex;     /* Current mutex */



Home | Main Index | Thread Index | Old Index