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.