Lec 2: Basic Thread Synchronization