Skip to content
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

Enable query engine update from collider #137

Merged
merged 1 commit into from
Dec 18, 2017
Merged

Enable query engine update from collider #137

merged 1 commit into from
Dec 18, 2017

Conversation

doyubkim
Copy link
Owner

Without this feature, making any spatial query from "set" type surfaces from parallel execution context will cause race condition. This is originally reported by https://github.com/utilForever/CubbyFlow/issues/217. Introducing mutex could be a natural solution, but that requires heavy assumption on the parallel executer (which is currently std::thread at the moment) which is not ideal -- it can be OpenMP, TBB, PPL, pthread, etc. In the near future, however, thread-safety-ness should be well documented for the public APIs.

@doyubkim doyubkim merged commit b062321 into master Dec 18, 2017
@doyubkim doyubkim deleted the collider_fix branch December 18, 2017 13:52
utilForever added a commit to utilForever/CubbyFlow-v1 that referenced this pull request Dec 21, 2017
utilForever added a commit to utilForever/CubbyFlow-v1 that referenced this pull request Dec 21, 2017
utilForever added a commit to utilForever/CubbyFlow-v1 that referenced this pull request Dec 21, 2017
utilForever added a commit to utilForever/CubbyFlow-v1 that referenced this pull request Dec 21, 2017
utilForever added a commit to utilForever/CubbyFlow-v1 that referenced this pull request Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant