@lock


Description:

[ Version ( since = "3.58" ) ]
public void @lock ()

Locks the this, to prevent changes from other threads.

It can be called multiple times, only each call needs its pair call of the @unlock.

Parameters:

this

an ComponentBag