Hi!
Just read the article and I think I found a bug:
In the "Multiple-consumers" example, you are still using the "Single-consumer" functions.
Instead of
...
||i = queue_pop(&q, EXP, &save); |... ||} while (!queue_pop_commit(&q, save));|
the `|queue_mpop`||and `||queue_mpop_commit` versions should be used. Love your content. Cheers |