Browse Source
Merge pull request #4775 from martin-frbg/issue4770
Guard against invalid thread_status.queue
tags/v0.3.28^2
Martin Kroeker
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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) { |
|
|
|
|