📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      Which of the following statements about the Test-and-Set

      Lock (TSL) instruction is CORRECT?
      A It ensures mutual exclusion by atomically testing and setting a lock variable Correct Answer Incorrect Answer
      B It is a non-atomic operation used for memory allocation Correct Answer Incorrect Answer
      C It is used only for process scheduling Correct Answer Incorrect Answer
      D It guarantees absence of starvation in all cases Correct Answer Incorrect Answer
      E It allows multiple processes to enter the critical section simultaneously Correct Answer Incorrect Answer

      Solution

      It ensures mutual exclusion by atomically testing and setting a lock variable.

      Practice Next

      Relevant for Exams:

      ask-question