Bug 227940 - MediaSessionManagerCocoa::ensureCodecsRegistered() isn't thread-safe
Summary: MediaSessionManagerCocoa::ensureCodecsRegistered() isn't thread-safe
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
Keywords: InRadar, Regression
Depends on: 225910
  Show dependency treegraph
Reported: 2021-07-13 22:10 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-07-14 01:03 PDT (History)
8 users (show)

See Also:

Patch (1.92 KB, patch)
2021-07-13 22:21 PDT, Jean-Yves Avenard [:jya]
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2021-07-13 22:10:42 PDT
Apparently, C++11 feature that guarantees that static initialisation be thread-safe is disabled in webkit.

Making the change in bug 225910 wrong.

Should do initialisation in a different manner
Comment 1 Radar WebKit Bug Importer 2021-07-13 22:11:13 PDT
Comment 2 Jean-Yves Avenard [:jya] 2021-07-13 22:21:43 PDT
Created attachment 433486 [details]
Comment 3 Maciej Stachowiak 2021-07-13 22:27:04 PDT
Comment on attachment 433486 [details]

Comment 4 EWS 2021-07-13 22:57:15 PDT
Committed r279905 (239654@main): <https://commits.webkit.org/239654@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 433486 [details].