Hi, I am trying to debug a multithreaded prog in DDD and facing unexpected behaviour of semaphores. When i run my prog(without DDD) it runs normally but when i run it with DDD it gets all sempahores posted intially. I am intialising all semaphored by sem_init to 0. Please suggest something Thanks a lot.