Skip to content

ThreadDispatcher implementation (application freezes) #198

Answered by RossNordby
AZV-EU asked this question in Q&A
Discussion options

You must be logged in to vote

At a glance, nothing jumps out as wrong. That looks pretty close to the default BepuUtilities.ThreadDispatcher implementation, reordered, plus some nullability annotations.

Is it possible that DispatchWorkers is being called at the same time from multiple threads? That implementation is not reentrant, so that would definitely cause problems.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AZV-EU
Comment options

@RossNordby
Comment options

@AZV-EU
Comment options

@RossNordby
Comment options

@AZV-EU
Comment options

Answer selected by AZV-EU
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