public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Claudio Bley" <bley@cs.uni-magdeburg.de>
To: Wei koong Chai <eem1wc@eim.surrey.ac.uk>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Sleep my program
Date: Tue, 18 Jun 2002 14:40:00 -0000	[thread overview]
Message-ID: <15631.43147.199060.69215@wh2-19.st.uni-magdeburg.de> (raw)
In-Reply-To: <Pine.LNX.4.43.0206182117590.12067-100000@swan02.ee.surrey.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Wei" == Wei koong Chai <eem1wc@eim.surrey.ac.uk> writes:

    Wei> Hi all, I have a little gcc problem here. I need to sleep my
    Wei> program for a period of time (down to micro-second).

    Wei>   After fumbling with different books and websites, I still
    Wei> can't find how to do this. I would really appreciate if any
    Wei> kind soul here can give me a hand on this problem.

You are a little sparse on information here. What kind of system, OS,
C library etc. ?

Additionally, this is really not a gcc question. Look up the usleep
function in your C library manual ('man usleep').

Claudio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE9D6iLTpSishmp0ioRAiZrAKCNbZqs3xAH4JTGUVfJx33wMezGwwCeP2ia
BXaBT02wOQmZ466DYn9KRQI=
=NjfC
-----END PGP SIGNATURE-----

  reply	other threads:[~2002-06-18 21:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-18 13:21 Wei koong Chai
2002-06-18 14:40 ` Claudio Bley [this message]
2002-06-18 18:43 ` SCO UNIX 5.0.5 with gcc 2.95.2 link problem Alex Chan
2002-06-19  0:27   ` Alex Chan

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=15631.43147.199060.69215@wh2-19.st.uni-magdeburg.de \
    --to=bley@cs.uni-magdeburg.de \
    --cc=eem1wc@eim.surrey.ac.uk \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).