Skip to content

Guard against more than *2 unlocks pending

Peter W. Draper requested to merge scheduler-addunlocks-fix into master

When more than *2 the maximum number of unlocks are asked for while increasing the space available the index == new size is valid and would give an out of bounds access, and the remaining unlocks would deadlock. Handle that.

Merge request reports