[webkit-changes] [WebKit/WebKit] c97f88: Use ThreadSafeWeakHashSet for Thread

Yusuke Suzuki noreply at github.com
Thu Dec 22 16:19:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c97f888aa3e2ad3e7eef9d0ed4c5752d51adabb5
      https://github.com/WebKit/WebKit/commit/c97f888aa3e2ad3e7eef9d0ed4c5752d51adabb5
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M Source/WTF/wtf/ThreadGroup.cpp
    M Source/WTF/wtf/ThreadSafeWeakHashSet.h
    M Source/WTF/wtf/Threading.cpp
    M Source/WTF/wtf/Threading.h

  Log Message:
  -----------
  Use ThreadSafeWeakHashSet for Thread
https://bugs.webkit.org/show_bug.cgi?id=249674
rdar://103568937

Reviewed by Alex Christensen.

Use ThreadSafeWeakHashSet for Threads.

* Source/WTF/wtf/ThreadSafeWeakHashSet.h:
* Source/WTF/wtf/Threading.cpp:
(WTF::Thread::didExit):
(WTF::Thread::addToThreadGroup):
(WTF::Thread::removeFromThreadGroup):
(WTF::Thread::numberOfThreadGroups):
* Source/WTF/wtf/Threading.h:

Canonical link: https://commits.webkit.org/258267@main




More information about the webkit-changes mailing list