Browse Source

Guard against invalid thread_status.queue

tags/v0.3.28^2
Martin Kroeker GitHub 1 year ago
parent
commit
d0b9948b23
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      driver/others/blas_server.c

+ 1
- 1
driver/others/blas_server.c 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) {


Loading…
Cancel
Save