1 | Lock is the part of the variable which is used for access synchronization to the variable |
2 | Locks can be used as independent locking mechanism - the value is ignored |
3 | Lock can have value of N, S, or X |
4 | In case of S lock value a set of users is associated with the lock |
5 | In case of X lock value one user is associated with it |