NVIDIA Interview Question

To explain how to use lock to manage threads.