From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,3fd98a639cbeda32 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-14 04:12:49 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!Germany.EU.net!netmbx.de!zib-berlin.de!irz401!irzr17!beck From: beck@irzr17.inf.tu-dresden.de (Andre Beck) Newsgroups: comp.unix.osf.osf1 Subject: Re: Fortran sleep function Date: 14 Feb 1994 13:12:49 +0100 Organization: Dept. of Computer Science, TU Dresden, Germany. Distribution: world Message-ID: <2jnps1$16j7@irzr17.inf.tu-dresden.de> References: <2jclkl$8md@nntp.ucs.ubc.ca> Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE NNTP-Posting-Host: irzr17.inf.tu-dresden.de 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-+