7 ms·
Yeah, but the "queue-of-queues" is a more traditional structure familiar to people with lock-free algorithms. I don't have time to do a serious code review of
by dragontamer 7y ago
Yeah, but the "queue-of-queues" is a more traditional structure familiar to people with lock-free algorithms.
I don't have time to do a serious code review of everything... but immediately upon looking at that code, its already clearly written with better quality: with acquire/release fences being used in (seemingly) the correct spot (just as an example).
Like, the real issue I have here is the quality of the code that is being demonstrated in the blog post. A lock-free of queues-of-queues implementation makes sense in my brain. What's going on in the blog-post ultimately doesn't make sense.