From: Ivan Maidanski Date: Fri, 12 Apr 2019 16:51:02 +0000 (+0300) Subject: Refine flags field comment in pthread_support.h X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a0a080d444379e9ffb5ac2342f8e3e04d5a40fe;p=gc 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. --- 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 */