This is the mail archive of the
mailing list for the GDB project.
POSIX Semaphore under gdb
- From: jigisha at spectross dot com
- To: gnu at gnu dot org, gdb at sourceware dot org
- Date: Thu, 12 Apr 2007 03:03:17 -0500 (CDT)
- Subject: POSIX Semaphore under gdb
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.