Merge pull request #4775 from martin-frbg/issue4770

Guard against invalid thread_status.queue
This commit is contained in:
Martin Kroeker 2024-07-01 00:35:30 +02:00 committed by GitHub
commit bdb6069051
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) {