is it possible to get just one bit of an int in C and then flip it without reading the entire int and writing it back to memory?
context:
trying to avoid too many locks/unlocks in pthread.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…