8000 GitHub - scivision/fortran-sleep: OS/compiler-independent "sleep" Fortran subroutine
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

scivision/fortran-sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortran standard sleep_ms()

ci_cmake oneapi-linux

OS/compiler-independent "sleep" Fortran subroutine

The simplest robust way to implement Fortran "sleep_ms(milliseconds)" in a standard way is using C++ as in sleep.cpp and sleep_std.f90

Two other methods are shown. POSIX nanosleep in sleep.c takes noticeably more code than C++. Simply binding to C functions is less robust in reference/.

About

OS/compiler-independent "sleep" Fortran subroutine

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  
0