{
if (!qta->teardown) {
qta->teardown = 1;
- ossl_crypto_condvar_broadcast(qta->cv);
+ ossl_crypto_condvar_signal(qta->cv);
}
return 1;
if (qta->teardown)
return 0;
- /*
- * Wake-one would be better here but as there is only one listening thread
- * this does not actually matter.
- */
- ossl_crypto_condvar_broadcast(qta->cv);
+ ossl_crypto_condvar_signal(qta->cv);
return 1;
}