Suppose thread 1 creates a lock dynamically (but does not lock it). Then, suppose Thread 2 locks the lock, then goes out of existence. Will thread 1 be able to delete the lock since it was left locked by the now non-existent thread 2?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Thread Lock conundrum
|
Click Here to Expand Forum to Full Width |