From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Subject: Re: Fortran sleep function
Date: 14 Feb 1994 13:12:49 +0100 [thread overview]
Message-ID: <2jnps1$16j7@irzr17.inf.tu-dresden.de> (raw)
In-Reply-To: 2jclkl$8md@nntp.ucs.ubc.ca
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1055 bytes --]
In article <2jclkl$8md@nntp.ucs.ubc.ca>, GERTJAN@ERICH.TRIUMF.CA (HOFMAN, GERTJAN) writes:
|>I am looking for a 'sleep' function callable from fortran
|>a la LIB$WAIT on good old VMS . There is one available for sleeps
|>in multiples of one second but this is useless for my application
|>(data acquisition in particle physics experiments).
|>I also know of a 'c' routine that uses SIGALARM - alas that
|>system interrupt interferes with some other softwarewe are running.
|>
Subsecond sleeps are usually achieved by calling your local manifestation
of the I/O multiplexer (i.e. select(2) or poll(2)) without any file-
descriptors, but still with a timeout. I dunno how to do it in FOR%&$�,
but it should be possible (if you have a system call interface there).
--
+-o-+--------------------------------------------------------+-o-+
| o | \\\- Brain Inside -/// | o |
| o | ^^^^^^^^^^^^^^ | o |
| o | Andre' Beck (ABPSoft) Andre_Beck@IRS.Inf.TU-Dresden.de | o |
+-o-+--------------------------------------------------------+-o-+
prev parent reply other threads:[~1994-02-14 12:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-10 6:53 Fortran sleep function HOFMAN, GERTJAN
1994-02-14 12:12 ` Andre Beck [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox