synchronized statement
Java
A statement in which an object-lock must be obtained for the target object before the body of the statement can be entered. Used to enclose a critical section in order to prevent a race hazard.
A statement in which an object-lock must be obtained for the target object before the body of the statement can be entered. Used to enclose a critical section in order to prevent a race hazard.