From 4a0a080d444379e9ffb5ac2342f8e3e04d5a40fe Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 12 Apr 2019 19:51:02 +0300 Subject: [PATCH] Refine flags field comment in pthread_support.h * include/private/pthread_support.h (GC_Thread_Rep.flags): Add comment that the field is accessed only by the GC lock owner. --- include/private/pthread_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/private/pthread_support.h b/include/private/pthread_support.h index 2dc1541a..8e4bccf7 100644 --- a/include/private/pthread_support.h +++ b/include/private/pthread_support.h @@ -71,7 +71,7 @@ typedef struct GC_Thread_Rep { volatile AO_t suspended_ext; /* Thread was suspended externally. */ # endif - unsigned char flags; + unsigned char flags; /* Protected by GC lock. */ # define FINISHED 1 /* Thread has exited. */ # define DETACHED 2 /* Thread is treated as detached. */ /* Thread may really be detached, or */ -- 2.40.0