[webkit-changes] [WebKit/WebKit] 228eeb: Address thread safety issue in log forwarding

Per Arne Vollan noreply at github.com
Fri Mar 1 15:13:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 228eebbe8b431b55d009517b892fb427b7d7c51e
      https://github.com/WebKit/WebKit/commit/228eebbe8b431b55d009517b892fb427b7d7c51e
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Address thread safety issue in log forwarding
https://bugs.webkit.org/show_bug.cgi?id=270366
rdar://123748756

Reviewed by Chris Dumez.

Use dispatch_once to synchronize access to the log worker queue from multiple threads.

* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::logQueue):
(WebKit::registerLogHook):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list