Multiple ChoiceIntermediate 30s
Lock Purpose
Choose the best answer for: threading.Lock
Options
- 1Lock is a primitive used to coordinate coroutines
- 2Lock prevents race conditions on shared data
- 3Lock creates new threads to spread work across the CPU
- 4Lock speeds up threads by parallelizing their execution
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.