Multi Threaded Environment Synchronization Technique

In a multi-threaded environment, which of the following is true about thread synchronization?

ملٹی تھریڈ والے ماحول میں، تھریڈ سنکرونائزیشن کے بارے میں درج ذیل میں سے کون سا سچ ہے؟
Answer: Thread synchronization used semaphores and mutexes to prevent race condition
Explanation
  • Synchronization ensures that threads access shared resources safely, avoiding conflicts like race conditions.
  • Tools like semaphores and mutexes are used to control thread access to critical sections.
  • This question appeared in Past Papers (1 times)
    This question appeared in Subjects (1 times)

    Install this app on your device for quick access right from your home screen.