logoalt Hacker News

zozbot234yesterday at 7:56 PM0 repliesview on HN

The idea is that six bits in the byte are free to use as you wish. Of course you'll need to implement operations on those six bits as CAS loops (which nonetheless allow for any arbitrary RMW operation) to avoid interfering with the mutex state.