Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Fortran sleep function
@ 1994-02-10  6:53 HOFMAN, GERTJAN
  1994-02-14 12:12 ` Andre Beck
  0 siblings, 1 reply; 2+ messages in thread
From: HOFMAN, GERTJAN @ 1994-02-10  6:53 UTC (permalink / raw)



Hey  There,

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.

If any one knows of such a routine please let me know.

Sincerely,

Gertjan




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fortran sleep function
  1994-02-10  6:53 Fortran sleep function HOFMAN, GERTJAN
@ 1994-02-14 12:12 ` Andre Beck
  0 siblings, 0 replies; 2+ messages in thread
From: Andre Beck @ 1994-02-14 12:12 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-02-14 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-10  6:53 Fortran sleep function HOFMAN, GERTJAN
1994-02-14 12:12 ` Andre Beck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox