What is thread safety? How do you achieve it?
Answer / 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 |
who among the following is responsible for establishing IS Audit function in the organisation?
Explain the difference between ntfs4 and ntfs5?
What are the different identifier states of a thread?
cannot copy (file name)- access is denied,
Where is taskkill located?
Explain what is the impact if dns server fails?
How to stop a thread?
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
What is thread safety and synchronization?
Explain which one is not needed for multi-program environment?
Purposes, features and functions of windows 98 and xp. i am struggling with this because i have to compare their strenths and weaknesses, please can i get help?
How would you implement a thread pool?