Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Protect TGeo material query by mutex and enable its usage in TRD tracking#4444

Merged
shahor02 merged 2 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
shahor02:pr_matFixshahor02/AliceO2:pr_matFixCopy head branch name to clipboard
Sep 26, 2020
Merged

Protect TGeo material query by mutex and enable its usage in TRD tracking#4444
shahor02 merged 2 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
shahor02:pr_matFixshahor02/AliceO2:pr_matFixCopy head branch name to clipboard

Conversation

@shahor02
Copy link
Collaborator

@martenole @davidrohr the crash in mat. query in #4297 was because of multithreading: most of TGeometry operations are not thread-safe. I've protected TGeo calls by mutex and enabled material corrections in TRD, but for production benchmarks, we should only LUT (which is thread-safe) since the TGeo, apart from being extremely slow, with mutex may make the multithreading meaningless.

Copy link
Collaborator

@davidrohr davidrohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for spotting

@shahor02 shahor02 merged commit b562b28 into AliceO2Group:dev Sep 26, 2020
@shahor02 shahor02 deleted the pr_matFix branch September 26, 2020 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.