[so] Sleep milisecunde

Bogdan Sass bogdan.sass at catc.ro
Sun Apr 12 21:10:36 EEST 2009


    Cum as putea genera un delay de X milisecunde in C (conform cu 
comanda "s MMM" din enuntul temei)? Eventual si intr-un mod portabil 
si/sau standard :)

    Intreb pentru ca am gasit o formulare... interesanta [1]:

There is no way to do so in standard C, the topic of this newsgroup. The
function sleep() is also not part of standard C. The clue is the fact that
the operating system is relevant.

[1] http://bytes.com/groups/c/215640-millisecond-delay-c-linux

    In contextul temei, usleep() ar fi o solutie acceptata?

    Multumesc,

-- 
Bogdan Sass
CCAI,CCSP,JNCIA-ER,CCIE #22221 (RS)
Information Systems Security Professional
"Curiosity was framed - ignorance killed the cat"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090412/1839633e/attachment.bin>


More information about the so mailing list