From d0b9948b23a51cd57f6e857d4fbd59db9a16c05a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 30 Jun 2024 19:31:15 +0200 Subject: [PATCH] Guard against invalid thread_status.queue --- driver/others/blas_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index 80c28ebda9..64130b0dd0 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -418,7 +418,7 @@ blas_queue_t *tscq; tscq = atomic_load_queue(&thread_status[cpu].queue); - while(!tscq) { + while(!tscq || tscq == 0x1) { YIELDING; if ((unsigned int)rpcc() - last_tick > thread_timeout) {