-
Notifications
You must be signed in to change notification settings - Fork 42
Cleanup atomics and fix deadlock in DP bucket_can_pool() #1127
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
Conversation
c570a42 to
7bd9fd3
Compare
|
@bratpiorka we have the following issue in the backlog: #886. |
6861168 to
b294cc6
Compare
436aac8 to
7cba692
Compare
ca4a8f1 to
b41f1dd
Compare
7127d89 to
092bad7
Compare
src/utils/utils_concurrency.h
Outdated
| ASSERT_IS_ALIGNED((uintptr_t)ptr, 8); | ||
| ASSERT_IS_ALIGNED((uintptr_t)out, 8); | ||
| __atomic_load(ptr, out, memory_order_acquire); | ||
| //utils_annotate_acquire(ptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it commented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
d71076a to
0291b0c
Compare
|
@lplewa please re-review |
0291b0c to
0f540bc
Compare
0f540bc to
eae8d63
Compare
|
continue in #1151 |
Cleanup atomics and replace while(true) loop in Disjoint Pool bucket_can_pool() with a pair of atomic add/sub.
fix for #1125 and #1115
This PR is required by #1143