Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing exec::__atomic_intrusive_queue (#1160)
* Fixing exec::__atomic_intrusive_queue exec::__atomic_intrusive_queue::pop_all and exec::__atomic_intrusive_queue::pop_all_reversed used a simple atomic exchange which might lead to a race with a parallel insertion. This patch fixes that by introducing a CAS loop to account for potential parallel insertions.
- Loading branch information