1. 6.6 6.ReentrantLockhistorical

    ReentrantLock provides explicit locking and unlocking. These notes compare it with synchronized and trace its implementation through AQS-related classes.

  2. 6.26 Fair Lockhistorical

    A fair lock follows the first-come, first-served principle.

  3. 6.34 Nonfair Lockhistorical

    A nonfair lock allows threads to attempt acquisition when the lock becomes free without requiring arrival order. These notes trace NonfairSync.lock.