Please sign in to comment.
Freeing garbage here can be dangerous because another consumer could be
dequeueing at the same time. However, in this case, there is only ever one consumer on this fifo (we use mpmc b/c of multiple producers only). So, actually, it is safe.
- Loading branch information...