habanero-rice / hclib

A C/C++ task-based programming model for shared memory and distributed parallel computing.
http://habanero-rice.github.io/hclib/
BSD 3-Clause "New" or "Revised" License
71 stars 35 forks source link

Roll back the previous patch to fix the deadlock with refined fix #78

Closed sbak5 closed 5 years ago

sbak5 commented 5 years ago

This request rolls back the previous commits to fix the deadlock (issue #73 ) and contains a fix to solve the issue completely.

agrippa commented 5 years ago

This looks good to me. Just a note, as part of my local testing I actually hit this bug in an existing test as well (promise/future2).