Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wake up non-STATE_LOCKED_WAITING writers with priority
The last writer sets the state of the writers that are not STATE_LOCKED_WAITING to STATE_COMPLETED, and then notify-one writers in STATE_LOCKED_WAITING sequentially, so that some writers will not fall from non-BlockingAwaitState to its counterpart at this stage due to the long waiting time.
- Loading branch information