Only a pthread_cond_signal is required in avalon, not a broadcast.
Retry the pthread conditional in avalon_get_result if we still don't have enough in the buffer.