Subj : Re: Linux thread weird problem.. To : comp.programming.threads From : ranjeetw Date : Fri Jul 01 2005 07:10 am >>I don't see any deadlock. Exactly, thats why I feel lost here now. I do not see any thread waiting for mutex. >>Could be an endless loop caused by a non thread-safe >> operation clobbering the data structure. Thanks for confirming that...I was working on this theory, but still dont find reason. I have single thread handling this data in std::map. This thread waits on select, and gets notified from other threads through pipe (as mentioned earlier). Main thread wakes up, and processes requests. I am not creating any other thread. I am not passing any functions for callback. I am not supplying pointers to this std::map structures. This remains a mystery for me, why app should get in endless loop in STL lib only. .