Skip to content

How to use JPH::Mutex #1050

Answered by jrouwe
SSNTails asked this question in Q&A
Apr 12, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Your suggested code should work and I would do it that way until a profiler tells you that you spend a lot of time waiting for interactionMutex. If this is the case you can always build a lock free linked list (but I don't think it will be needed).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SSNTails
Comment options

Answer selected by SSNTails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants