Module Name: src
Committed By: christos
Date: Wed Mar 10 15:05:11 UTC 2021
Modified Files:
src/lib/libpthread: pthread_types.h
Log Message:
Use __pthread_volatile for ptc_waiters (Greg A. Woods)
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libpthread/pthread_types.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_types.h
diff -u src/lib/libpthread/pthread_types.h:1.25 src/lib/libpthread/pthread_types.h:1.26
--- src/lib/libpthread/pthread_types.h:1.25 Wed Jun 10 18:45:15 2020
+++ src/lib/libpthread/pthread_types.h Wed Mar 10 10:05:11 2021
@@ -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 @@ struct __pthread_cond_st {
/* 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 */