This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC G77 Sleep Intrinsic


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.


I did check the FAQ, but without success...
I am not very adept at cygwin and g77... Can you help me?

Thank you very much!

Lars



--
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/


-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]