Loading src/lib/bus/casq.c +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ void *casq_pop(struct casq *q) { l->data = NULL; for (;;) { /* spin, push */ l->next = q->free_links; if (ATOMIC_BOOL_COMPARE_AND_SWAP(&q->free_links, q->free_links, l)) { if (ATOMIC_BOOL_COMPARE_AND_SWAP(&q->free_links, l->next, l)) { break; } } Loading Loading
src/lib/bus/casq.c +1 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ void *casq_pop(struct casq *q) { l->data = NULL; for (;;) { /* spin, push */ l->next = q->free_links; if (ATOMIC_BOOL_COMPARE_AND_SWAP(&q->free_links, q->free_links, l)) { if (ATOMIC_BOOL_COMPARE_AND_SWAP(&q->free_links, l->next, l)) { break; } } Loading