Hacker News new | ask | show | jobs
by alkonaut 2624 days ago
I’m not sure how this is usually done but I’d avoid locks at nearly any cost and try to use a lock-free spmc queue such as https://github.com/tudinfse/FFQ