Java Lock Free, atomic package is an example of lock-free programming on single variables.