This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
This post is about folly’s AtomicQueue. It is a lock-free MPSC(multiple-producer-single-consumer) queue that only wakes up the consumer when necessary. It is mainly used as the notification queue for folly::EventBase, as a way to pass work from external threads to be executed on the EventBase thread. In this context, the EventBase is the consumer, and it always runs on the same thread. There can…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.