How to: Use Locks and Prevent Deadlocks?
Multi-threading is used in almost all real-life applications. I summed up my thoughts on use of locks and deadlock prevention in the following related topics: Thread Safety From a thread safety perspective, resources (memory) is classified as either thread-exclusive, read-only, or lock-protected. Unsafe use Accessing static variables or heap-allocated memory after it is published (made… Read more
- Tags: Concurrency, Development, How To