LLNL / umap

User-space Page Management
GNU Lesser General Public License v2.1
104 stars 22 forks source link

Fixed wait_for_idle to check both waiter count and the q size #94

Closed mcfadden8 closed 5 years ago

mcfadden8 commented 5 years ago

This fixes a problem where wait_for_idle can return prematurely if there are no busy waiters, but there are items on the work queue which can happen if the waiters have not completely woken up yet to service the queue.