Subj : deadlock avoidance To : comp.programming.threads From : axter Date : Thu May 19 2005 11:52 pm Are there any good C++ methods, objects, or logic to avoid deadlocks? I have the following code: http://code.axter.com/sync_ptr.h http://code.axter.com/sync_ctrl.h I'm trying to figure out a way in which the smart pointer can automatically avoid deadlocks. Right now I'm stuck, and I was hoping someone here could come up with something I've overlooked, or something I'm not aware of. Any advice would be appreciated. .