Q. What should not be done to avoid deadlock?

  • (A) avoid using multiple threads
  • (B) avoid hold several locks at once
  • (C) execute foreign code while holding a lock
  • (D) use interruptible locks
πŸ’¬ Discuss
βœ… Correct Answer: (C) execute foreign code while holding a lock

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
233
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
87%
Success Rate