ea67bb8374
Remove mutex and just make the thread spin again if the queue is wrapping. Remove the wait for the queue to finish wrapping, and just check if there is enough space to recycle when reserving queue space. [git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1256713]