Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be08f91a46a3c28ac2ad035c6f4a671c42c37491
      
https://github.com/WebKit/WebKit/commit/be08f91a46a3c28ac2ad035c6f4a671c42c37491
  Author: Fady Farag <[email protected]>
  Date:   2025-05-31 (Sat, 31 May 2025)

  Changed paths:
    M Source/WTF/benchmarks/LockFairnessTest.cpp
    M Source/WTF/benchmarks/LockSpeedTest.cpp

  Log Message:
  -----------
  Use std::atomic<> for thread coordination
https://bugs.webkit.org/show_bug.cgi?id=293807
rdar://problem/152319538

Reviewed by Yusuke Suzuki.

Use std::atomic<bool> to ensure proper synchronization and provide
the memory ordering guarantees needed for safe multi-threaded communication.

Inspired by the guidance in P1152R0: 
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1152r0.html

* Source/WTF/benchmarks/LockFairnessTest.cpp:
* Source/WTF/benchmarks/LockSpeedTest.cpp:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to