Guard against invalid thread_status.queue

This commit is contained in:
Martin Kroeker 2024-06-30 19:31:15 +02:00 committed by GitHub
parent c33bc849aa
commit d0b9948b23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) {