News for hackers. Stuff that matters.
Re:Yes, You Have Been Writing SPSC Queues Wrong by tcbawo on Thursday December 15, 2016 @05:19PM (#13189081)
Another approach gives each element a 'data ready' flag (ie the real element type inherits from T). This flag is set by a producer and cleared by the consumer. This would give you an empty/full indication.

There are no comments on this comment yet.