This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Sleep my program


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


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