AcquireShared acquires Synchronize status, and multiple threads can obtain Synchronize status at the same time. Does this mean that there are multiple head nodes?

when I was reading, in the queue synchronizer, it is said that only the head node can have the Synchronize status. In the shared access Synchronize status, acquireShared allows multiple threads to obtain the Synchronize status when obtaining the Synchronize status. Is the head node one or some other way?

Feb.27,2021

I have found the answer. Through the setHeadAndPropagate method, wake up the remaining threads

Menu