Title: [253732] trunk/Source/WTF
Revision
253732
Author
[email protected]
Date
2019-12-18 18:38:15 -0800 (Wed, 18 Dec 2019)

Log Message

Unreviewed, build fix after r253730
https://bugs.webkit.org/show_bug.cgi?id=204398

Thread::destructTLS is always required in POSIX environments

* wtf/Threading.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (253731 => 253732)


--- trunk/Source/WTF/ChangeLog	2019-12-19 02:21:35 UTC (rev 253731)
+++ trunk/Source/WTF/ChangeLog	2019-12-19 02:38:15 UTC (rev 253732)
@@ -1,3 +1,12 @@
+2019-12-18  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, build fix after r253730
+        https://bugs.webkit.org/show_bug.cgi?id=204398
+
+        Thread::destructTLS is always required in POSIX environments
+
+        * wtf/Threading.h:
+
 2019-12-18  Fujii Hironori  <[email protected]>
 
         [Win] Use thread_local to hold Ref<WTF::Thread> in the thread rather than using FLS

Modified: trunk/Source/WTF/wtf/Threading.h (253731 => 253732)


--- trunk/Source/WTF/wtf/Threading.h	2019-12-19 02:21:35 UTC (rev 253731)
+++ trunk/Source/WTF/wtf/Threading.h	2019-12-19 02:38:15 UTC (rev 253732)
@@ -281,7 +281,7 @@
     // One time initialization for this class as a whole.
     // This method must be called before initializeTLS() and it is not thread-safe.
     static void initializeTLSKey();
-
+#endif
     // This thread-specific destructor is called 2 times when thread terminates:
     // - first, when all the other thread-specific destructors are called, it simply remembers it was 'destroyed once'
     // and (1) re-sets itself into the thread-specific slot or (2) constructs thread local value to call it again later.
@@ -288,7 +288,6 @@
     // - second, after all thread-specific destructors were invoked, it gets called again - this time, we deref the
     // Thread in the TLS, completing the cleanup.
     static void destructTLS(void* data);
-#endif
 
     // Creates and puts an instance of Thread into thread-specific storage.
     static Thread& initializeTLS(Ref<Thread>&&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to