This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] New gdb_usleep function?


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]