Better HN
topnewbestaskshowjobs
Log inSign up

sunnypq

2 karma · joined Apr 19, 2026 (7mo ago) · 2 submissions

Submissions

comment 7mo ago · link · parent

Thanks for clarifying, I didn't spot that waiting on a futex was optional.

I wonder to what extent the performance would be affected with a middle-ground option to spin a few times and then call sched_yield() syscall before spinning again.

comment 7mo ago · link · parent

It's not really bypassing the kernel if you're using futexes, is it?