This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: Help required on rda [FRV]
- From: Vinu Dev <vinudev at gmail dot com>
- To: Jim Blandy <jimb at redhat dot com>, rda at sources dot redhat dot com
- Date: Thu, 7 Apr 2005 10:31:35 +0530
- Subject: Re: Help required on rda [FRV]
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=OLAqHVVxTB1ULXvFdgVSwPqObn/0ufgJiciyGJzW65gEhT6KHU8vjYYkXQF3IbIYx7c5xZnPXgxLW10o/gd4xZkKiT1vUYEiQucAJJZ491f6pPNcLdBNOyp0XkCe0umQjI3MFrg8pcZkqKHSQa4CNKmnao9/L5M1KGyoLurCsnw=
- References: <18aafe4c05040603574ebfbd61@mail.gmail.com> <vt2k6nfu0xd.fsf@zenia.home>
- Reply-to: Vinu Dev <vinudev at gmail dot com>
Dear JimB,
Thanks for your reply,iam using LinuxThreads,its my requirement to
use linuxthreads.
Even i was surprised by the delay factor,is there any other way to
measure the thread creation time more precise than using
gettimeofday() system call,if u could advice me on this,i would be
very much thankfull to you.
The delay is around 4-5 secs for each thread creation via rda.
Is there any article or technical documents or could u guide me to
know the cause for this delay?
Regards
Vinay
On 06 Apr 2005 15:04:30 -0500, Jim Blandy <jimb@redhat.com> wrote:
>
> Vinu Dev <vinudev@gmail.com> writes:
> > I Appreciate your contribution to redhat on rda,i have problem using
> > rda compilied for FRV target,while debugging thread application using
> > rda and gdb compilied for FRV,there is a delay in thread creation when
> > compared to creation of thread running the prog on console.
> > Can u pls guide me in solving this problem
>
> Is your target system using LinuxThreads, or NPTL?
>
> With LinuxThreads, debugging will slow down your program quite a bit;
> there are a lot of signals the thread implementation sends itself
> internally, and RDA catches each one. I believe it re-reads the
> thread table from the debuggee's memory each time it stops.
>
> The timings your program prints are amazing, though; 38654705694
> seconds is around a thousand years. I assume you didn't have to wait
> *that* long. How long is the delay?
>
> If you have the option of using NPTL, you might try using RDA from the
> jimb-rda-nptl-branch branch. I haven't had time to merge that into
> the trunk, but hopefully I'll have some time to work on it eventually.
>
>
--
Regards,
Vinay