From: Deepak Kashyap <deepak_kashyap01@yahoo.co.in>
To: drow@mvista.com, gautham.thavva@lycos.com, gdb@sources.redhat.com
Subject: Help-ddd debugger
Date: Tue, 03 May 2005 13:48:00 -0000 [thread overview]
Message-ID: <20050503134819.50704.qmail@web8401.mail.in.yahoo.com> (raw)
Hi,
At present i am working on LINUX platform,and i
donot know how to debug a multithreaded program with
ddd.
please help me regarding this.
the program is
#include<stdio.h>
#include<pthread.h>
pthread_t thread[5];
void *fun(void *a)
{
printf("thread %d\n",a);
pthread_exit(NULL);
}
int main()
{
int i=0;
for (i=0 ;i<=5 ;i++)
{
printf("thread create %d",i);
pthread_create(&thread,NULL,fun,(void *)i);
}
}
With Regards & Thanks
Deepak Kashyap
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
next reply other threads:[~2005-05-03 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-03 13:48 Deepak Kashyap [this message]
2005-05-03 13:55 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050503134819.50704.qmail@web8401.mail.in.yahoo.com \
--to=deepak_kashyap01@yahoo.co.in \
--cc=drow@mvista.com \
--cc=gautham.thavva@lycos.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox