Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RE: RDI code busy-waiting on running target?
@ 2002-07-11 19:08 Dan Kegel
  0 siblings, 0 replies; 12+ messages in thread
From: Dan Kegel @ 2002-07-11 19:08 UTC (permalink / raw)
  To: 'Grant Edwards ', 'gdb@sources.redhat.com '
  Cc: 'gdb-patches@sources.redhat.com '

Grant Edwards wrote:

> Is usleep() portable?

http://sarien.sourceforge.net/hackersguide/intro-portability.html
claims no.

It uses a timer on some platforms, too, so I'd avoid it anyway.

You might consider using select() with no fds to sleep briefly.  That's
tradition.

- Dan


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-07-15 17:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020711175854.A29971@visi.com>
2002-07-11 16:53 ` RDI code busy-waiting on running target? Grant Edwards
2002-07-11 17:28   ` Keith Seitz
2002-07-11 17:44     ` Grant Edwards
2002-07-12  8:24   ` Grant Edwards
2002-07-12 11:04     ` Grant Edwards
2002-07-14 10:04       ` Andrew Cagney
2002-07-14 10:10         ` Momchil Velikov
2002-07-14 11:28           ` Andrew Cagney
2002-07-15  0:28             ` Grant Edwards
2002-07-15  9:42               ` Andrew Cagney
2002-07-15 10:59                 ` Grant Edwards
2002-07-11 19:08 Dan Kegel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox