Circular dependencies And Multithread Deadlocks #3527
Unanswered
qwerty1434
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have some questions about Querydsl's multithread deadlocks.
Reference documentation's 4.2. Multithreaded initialization of Querydsl Q-types says:
I'd like to know why circular dependencies occur deadlocks in multithreading.
What happens when Q-types are initialized, and how does circular references affect that process?
Is it because other threads can't access the Q-Type being initialized in each thread, or is there some other reasons?
And I'm also wondering how 'initialize the classes in a single thread' solves this problem.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions