Article View: comp.unix.programmer
Article #372What is the system call for microsecond sleep?
From: Rafique Mahmood
Date: Fri, 10 Apr 1992 20:44
Date: Fri, 10 Apr 1992 20:44
7 lines
739 bytes
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!mahmoodShow 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