绕口令:A process PPP can enter the critical section if the other does not want to enter, otherwise it may enter only if it is its turn.
还是绕口令:A process PPP can enter the critical section if the other does not want to enter, or it has indicated its desire to enter and has given the other process the turn.
有三个变量:你的手、他的手、厕所门。
__sync_synchronize()
mfence
dmb ish
fence rw, rw