Поясните следующую конструкцию в классе Thread

Что это за конструкция: synchronized (что-то в круглых скобках) {блок в фигурных скобках} ?

synchronized (blockerLock) {
            Interruptible b = blocker;
            if (b != null) {
                interrupt0();           // Just to set the interrupt flag
                b.interrupt(this);
                return;
            }
        }

Ответы (0 шт):