[Webkit-unassigned] [Bug 246718] New: [Xcode] Race condition when generating IDLFileNamesList.txt
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 18 15:51:00 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246718
Bug ID: 246718
Summary: [Xcode] Race condition when generating
IDLFileNamesList.txt
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emw at apple.com
WebCore's DerivedSources.make generates this file once per invocation of preprocess-idls.pl:
$(IDL_INTERMEDIATE_PATTERNS) : …
$(shell echo $(JS_BINDING_IDLS) | tr " " "\n" > IDLFileNamesList.txt)
$(PERL) $(WebCore)/bindings/scripts/preprocess-idls.pl …
This can cause race conditions where proprocess-idls.pl is reading the list while another thread is regenerating it. We only need to generate it once, so this can be fixed by generating the list as a separate step.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221018/4a420497/attachment.htm>
More information about the webkit-unassigned
mailing list