comp: Thread safety.
The Vulkan queue and command pool cannot be accessed simultaneously from multiple threads.
This is the case when running the multithreading
test in the OpenXR CTS. The test resolved in a VkError
on Android and Vulkan validation errors on Linux.
I just used phtread directly here for now, the calls could be moved to new functions u_threading.