Title: [278557] trunk/Source/WebCore
Revision
278557
Author
ab...@igalia.com
Date
2021-06-07 04:43:41 -0700 (Mon, 07 Jun 2021)

Log Message

[GStreamer] Add clang TSA annotations: MainThreadNotifier
https://bugs.webkit.org/show_bug.cgi?id=226717

Reviewed by Xabier Rodriguez-Calvar.

Adds clang thread safety annotations to
MainThreadNotifier.h

* platform/graphics/gstreamer/MainThreadNotifier.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (278556 => 278557)


--- trunk/Source/WebCore/ChangeLog	2021-06-07 11:43:01 UTC (rev 278556)
+++ trunk/Source/WebCore/ChangeLog	2021-06-07 11:43:41 UTC (rev 278557)
@@ -1,5 +1,17 @@
 2021-06-07  Alicia Boya García  <ab...@igalia.com>
 
+        [GStreamer] Add clang TSA annotations: MainThreadNotifier
+        https://bugs.webkit.org/show_bug.cgi?id=226717
+
+        Reviewed by Xabier Rodriguez-Calvar.
+
+        Adds clang thread safety annotations to
+        MainThreadNotifier.h
+
+        * platform/graphics/gstreamer/MainThreadNotifier.h:
+
+2021-06-07  Alicia Boya García  <ab...@igalia.com>
+
         [GStreamer] Add clang TSA annotations: InbandTextTrackPrivateGStreamer
         https://bugs.webkit.org/show_bug.cgi?id=226716
 

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MainThreadNotifier.h (278556 => 278557)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MainThreadNotifier.h	2021-06-07 11:43:01 UTC (rev 278556)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MainThreadNotifier.h	2021-06-07 11:43:41 UTC (rev 278557)
@@ -125,7 +125,7 @@
     }
 
     Lock m_pendingNotificationsLock;
-    unsigned m_pendingNotifications { 0 };
+    unsigned m_pendingNotifications WTF_GUARDED_BY_LOCK(m_pendingNotificationsLock) { 0 };
     Atomic<bool> m_isValid;
 };
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to