delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/11/09:41:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Tim Prince <tprince AT computer DOT org>
Reply-To: tprince AT computer DOT org
To: Lars Steinke <lars DOT steinke AT tu-clausthal DOT de>, cygwin AT cygwin DOT com
Subject: Re: GCC G77 Sleep Intrinsic
Date: Thu, 11 Dec 2003 06:40:28 -0800
User-Agent: KMail/1.5.4
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20031211111117 DOT 01fb1090 AT mail DOT rz DOT tu-clausthal DOT de>
In-Reply-To: <5.1.0.14.0.20031211111117.01fb1090@mail.rz.tu-clausthal.de>
MIME-Version: 1.0
Message-Id: <200312110640.28634.tprince@computer.org>

On Thursday 11 December 2003 02:14, Lars Steinke wrote:
> Hello,
>
> I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
> I have a problem with the following function:
>
> Sleep Intrinsic
>       CALL Sleep(Seconds)
>
> Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
>
> Intrinsic groups: unix.
>
> Description:
>
> Causes the process to pause for Seconds seconds. See sleep(2).
>
> <http://gcc.gnu.org/onlinedocs/gcc-3.3.2/g77/Sleep-
> Intrinsic.html#Sleep%20Intrinsic>
>
> If I write:
>
>        CALL Sleep(1)
>
> in my program and if I compile my program with:
>
> g77 -o test test.f
>
> the 'sleep' is so fast that you can not see it.
>
Works fine here on XP.  Check the FAQ's to see if C sleep() or the Sleep API 
may not be supported on 98.

-- 
Tim Prince


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019