Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 2 hours ago

Lockless MPSC/SPMC/MPMC queues are not queues

alexsaveau.dev

external-link
message-square
0
fedilink
3
external-link

Lockless MPSC/SPMC/MPMC queues are not queues

alexsaveau.dev

RSS BotMB to Hacker NewsEnglish · 2 hours ago
message-square
0
fedilink
Your MPSC/SPMC/MPMC queue is not a queue
alexsaveau.dev
external-link
Lockless queues let multiple cores communicate with each other without mutexes, typically to move work around for parallel processing. They come in four variants: {single,multi}-producer {single,multi}-consumer. A producer gives data to a consumer, each of which can be limited to a single thread (i.e. a single-{producer,consumer}) or shared across multiple threads. But only the single-producer single-consumer (SPSC) queue is actually a queue!

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 530 users / day
  • 1.49K users / week
  • 3.71K users / month
  • 9.73K users / 6 months
  • 2 local subscribers
  • 2.71K subscribers
  • 32.2K Posts
  • 13.5K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org