
Restartable Sequences: A Linux kernel feature for lock-free programming
Hacker News·3mo·Justine Tunney
Justine Tunney's deep dive explains how restartable sequences (rseq) let userspace code execute atomic operations without locks by leveraging kernel support for transparent restart on context switches. For systems programmers building high-performance libraries, this is a crucial but under-documented tool that can eliminate contention in concurrent code.
Original story
Read the original on Hacker NewsRelated stories
AI
HYVE Ether OS goes on pre-sale: a $499 sovereign AI operating system you actually ownVibe Software Solutions·3mo·Anthony S. Owens
AI
claude-handoff-revive lets you resume Claude Code sessions without re-explaining everythingHacker News Show HN·3mo·sofumel