Title: [278554] trunk/Source/WebCore
Revision
278554
Author
[email protected]
Date
2021-06-07 04:40:05 -0700 (Mon, 07 Jun 2021)

Log Message

[GStreamer] Fix clang TSA warning in AbortableTaskQueue
https://bugs.webkit.org/show_bug.cgi?id=226715

Reviewed by Michael Catanzaro.

Fixes a clang thread safety analysis warning in AbortableTaskQueue.

* platform/AbortableTaskQueue.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (278553 => 278554)


--- trunk/Source/WebCore/ChangeLog	2021-06-07 11:11:55 UTC (rev 278553)
+++ trunk/Source/WebCore/ChangeLog	2021-06-07 11:40:05 UTC (rev 278554)
@@ -1,3 +1,14 @@
+2021-06-07  Alicia Boya GarcĂ­a  <[email protected]>
+
+        [GStreamer] Fix clang TSA warning in AbortableTaskQueue
+        https://bugs.webkit.org/show_bug.cgi?id=226715
+
+        Reviewed by Michael Catanzaro.
+
+        Fixes a clang thread safety analysis warning in AbortableTaskQueue.
+
+        * platform/AbortableTaskQueue.h:
+
 2021-06-06  Antti Koivisto  <[email protected]>
 
         Factor selection clamping into a type

Modified: trunk/Source/WebCore/platform/AbortableTaskQueue.h (278553 => 278554)


--- trunk/Source/WebCore/platform/AbortableTaskQueue.h	2021-06-07 11:11:55 UTC (rev 278553)
+++ trunk/Source/WebCore/platform/AbortableTaskQueue.h	2021-06-07 11:40:05 UTC (rev 278554)
@@ -156,6 +156,7 @@
             m_abortedOrResponseSet.notifyAll();
         });
         m_abortedOrResponseSet.wait(m_lock, [this, &response]() {
+            assertIsHeld(m_lock);
             return m_aborting || response;
         });
         return response;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to