RESOLVED FIXED 246718
[Xcode] Race condition when generating IDLFileNamesList.txt
https://bugs.webkit.org/show_bug.cgi?id=246718
Summary [Xcode] Race condition when generating IDLFileNamesList.txt
Elliott Williams
Reported 2022-10-18 15:51:00 PDT
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.
Attachments
Elliott Williams
Comment 1 2022-10-18 15:57:52 PDT
EWS
Comment 2 2022-10-18 18:43:41 PDT
Committed 255709@main (244ca6a14f4a): <https://commits.webkit.org/255709@main> Reviewed commits have been landed. Closing PR #5516 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-10-18 18:44:24 PDT
Note You need to log in before you can comment on or make changes to this bug.