All challenges
Multiple ChoiceIntermediate 30s

Semaphore Purpose

Choose the best answer for: threading.Semaphore
Options
  1. 1Semaphore is deprecated and replaced by threading.Lock
  2. 2Semaphore is a lock variant with no counter or limit
  3. 3Semaphore limits concurrent access to N threads
  4. 4Semaphore is a primitive used for access to files

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.

Play this in a 3-minute battle