From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] New gdb_usleep function?
Date: Tue, 17 Mar 2009 21:01:00 -0000 [thread overview]
Message-ID: <m3prgflvmh.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20090317161240.GB31959@adacore.com> (Joel Brobecker's message of "Tue\, 17 Mar 2009 12\:12\:40 -0400")
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> I'm working on a patch for AIX where I need to do a timed-delay.
Joel> I could do what I always do, which is call gdb_select, but I thought
Joel> that this something we do occasionally, so I think it'd be nice to
Joel> have a function that does everything for us. This is why I came up
Joel> with gdb_usleep.
Joel> Tested in amd64-linux. Any objection?
This is not an objection, but I was wondering whether you looked at
using the gnulib usleep replacement function. I think using gnulib
functions, when applicable, is probably preferable to writing our own,
because we can share some of the work with others.
Tom
next prev parent reply other threads:[~2009-03-17 20:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 17:25 Joel Brobecker
2009-03-17 20:23 ` Jan Kratochvil
2009-03-17 20:30 ` Joel Brobecker
2009-03-17 21:01 ` Tom Tromey [this message]
2009-03-17 21:28 ` Joel Brobecker
2009-03-17 22:04 ` Tom Tromey
2009-03-24 2:22 ` Joel Brobecker
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=m3prgflvmh.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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