Atomic operations, locks, synchronize, join examples