adspace


What is thread safety? How do you achieve it?

Answer Posted / Anjani Kumar Mishra

Thread safety ensures that a program or system component can be used by multiple threads without unintended side effects. Achieving thread safety often involves careful synchronization of access to shared resources and avoiding race conditions. Techniques for achieving thread safety include locks, semaphores, atomic variables, and concurrent collections.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one know about NIC (National Informatics Centre) questions Patterns and full detail about written exam, and interview send to softshikha2005@yahoo.com.in Thank you

2165