This prevents race condition when creating queues concurrently. Change-Id: I5ea9714926fe06e1719fcb2559cb485063355e4f [ROCm/ROCR-Runtime commit: a1f3b619a7]
a1f3b619a7