Skip to content

[v634][cling] The LookupHelper routines need the ROOT lock. #18548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 29, 2025

Conversation

pcanal
Copy link
Member

@pcanal pcanal commented Apr 29, 2025

Those routines are at the very least looking up information into Clang and thus need to prevent concurrent updates. Some of the routines can also sometimes induces changes in Clang (eg. template instantiation).

This fixes #18520 and #18519

Back-port of #18522

pcanal added 2 commits April 29, 2025 09:51
.git is usually a directory but can also be a file, for example in the case
of a clone created via `worktree`
Copy link

github-actions bot commented Apr 29, 2025

Test Results

    11 files      11 suites   2d 13h 15m 22s ⏱️
 2 650 tests  2 650 ✅ 0 💤 0 ❌
28 780 runs  28 780 ✅ 0 💤 0 ❌

Results for commit 004bde9.

♻️ This comment has been updated with latest results.

Those routines are at the very least looking up information into
Clang and thus need to prevent concurrent updates.  Some of the
routines can also sometimes induces changes in Clang (eg. template
instantiation).

Add new header to access lock from clingutils
@pcanal pcanal merged commit a2f8b23 into root-project:v6-34-00-patches Apr 29, 2025
13 of 14 checks passed
@pcanal pcanal deleted the v634-18520 branch April 29, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant