Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
DblPlusUngood
7y ago
0 comments
Save
Share
Is recovery of a shared memory queue after one of the workers crashes even possible, in general? (what if the worker crashed before releasing a lock?)
0 comments
1 comments · 1 top-level
top
newest
oldest
alkonaut
7y 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
j
/
k
navigate · click thread line to collapse