From: Hugo Landau Date: Mon, 4 Sep 2023 16:53:13 +0000 (+0100) Subject: QUIC MULTISTREAM TEST: Add comment X-Git-Tag: openssl-3.2.0-alpha1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025535ecd11bdebd8eb28ed4f0f6b509b1b54577;p=thirdparty%2Fopenssl.git QUIC MULTISTREAM TEST: Add comment Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21827) --- diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index 1138e3e1e60..e8a145726cd 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -557,6 +557,10 @@ static unsigned int server_helper_thread(void *arg) ossl_quic_tserver_tick(h->s_priv); ossl_crypto_mutex_unlock(h->server_thread.m); + /* + * Give the main thread an opportunity to get the mutex, which is + * sometimes necessary in some script operations. + */ OSSL_sleep(1); ossl_crypto_mutex_lock(h->server_thread.m); }