Merge pull request #4775 from martin-frbg/issue4770
Guard against invalid thread_status.queue
This commit is contained in:
commit
bdb6069051
|
@ -418,7 +418,7 @@ blas_queue_t *tscq;
|
||||||
|
|
||||||
tscq = atomic_load_queue(&thread_status[cpu].queue);
|
tscq = atomic_load_queue(&thread_status[cpu].queue);
|
||||||
|
|
||||||
while(!tscq) {
|
while(!tscq || tscq == 0x1) {
|
||||||
YIELDING;
|
YIELDING;
|
||||||
|
|
||||||
if ((unsigned int)rpcc() - last_tick > thread_timeout) {
|
if ((unsigned int)rpcc() - last_tick > thread_timeout) {
|
||||||
|
|
Loading…
Reference in New Issue