PetscSleep#
Sleeps some number of seconds.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscSleep(PetscReal s)
Not Collective
Input Parameter#
s - number of seconds to sleep
Note#
If s is negative waits for keyboard input
See Also#
Level#
intermediate
Location#
Examples#
src/sys/tutorials/ex3.c
src/sys/tutorials/ex3f.F90
src/sys/tutorials/ex3f90.F90
src/sys/tutorials/ex4f.F90
src/sys/classes/draw/tests/ex10.c
src/sys/classes/draw/tests/ex5f.F90
src/sys/tests/ex30.c
src/sys/tests/ex68.c
src/sys/tests/ex71.c
src/sys/tests/ex72.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages