PetscSleep

Sleeps some number of seconds.

Synopsis

#include "petsc.h"    
int PetscSleep(int s)
Not Collective

Input Parameters

s -number of seconds to sleep

Notes

If s is negative waits for keyboard input

Level:intermediate
Location:
src/sys/src/utils/psleep.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sys/examples/tutorials/ex3.c.html
src/sys/examples/tutorials/ex3f.F.html
src/vec/examples/tutorials/ex5.c.html
src/vec/examples/tutorials/ex10.c.html