🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #372

What is the system call for microsecond sleep?

#372
From: Rafique Mahmood
Date: Fri, 10 Apr 1992 20:44
7 lines
739 bytes
I am developing some portable code in which I need to use microsecond
sleep. So, I used usleep(microsecond) system call. The problem is Decstation
does not support this call. They have 'napms(milisec)'. How can I get microsec.
sleep in my portable code? Is usleep() is POSIX call?

Thanks,
Rafique Mahmood
Technical Details
Message-ID: <1992Apr10.204412.20045@lambda.msfc.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!haven.umd.edu!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!mahmood

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!haven.umd.edu!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!mahmood
From: mahmood@lambda.msfc.nasa.gov (Rafique Mahmood)
Newsgroups: comp.unix.programmer,comp.unix.internals,comp.unix.wizards
Subject: What is the system call for microsecond sleep?
Message-ID: <1992Apr10.204412.20045@lambda.msfc.nasa.gov>
Date: 10 Apr 92 20:44:12 GMT
Organization: NASA/MSFC
Lines: 7