Files
metal2vulkan/crates
Anees Iqbal 3668435cfb Runtime: a command buffer's enqueue and commit wake its waits only where a thread waits
Every commit called notify_all on the command buffer's condition variable, at
its enqueue and again at its commit: each a futex wake, a system call whether
or not a thread waits, about 1.2 us a commit in a consumer's profile. The
command buffer's state now counts the threads waiting on it, under the same
lock, and both notify only where one waits. A device test has a thread wait
for a command buffer not yet committed: the commit wakes it, and the wait
returns once the command buffer completed.
2026-11-25 15:34:17 -08:00
..