Mercurial > octave-nkf
comparison src/cutils.c @ 4084:babc519f245b
[project @ 2002-10-03 03:23:14 by jwe]
author | jwe |
---|---|
date | Thu, 03 Oct 2002 03:23:15 +0000 |
parents | e97fb79fc1d5 |
children | ddc722b38e87 |
comparison
equal
deleted
inserted
replaced
4083:9a1bdd7fff3e | 4084:babc519f245b |
---|---|
72 } | 72 } |
73 | 73 |
74 void | 74 void |
75 octave_sleep (unsigned int seconds) | 75 octave_sleep (unsigned int seconds) |
76 { | 76 { |
77 #if defined (__WIN32__) && ! defined (_POSIX_VERSION) | |
78 Sleep (1000 * seconds); | |
79 #else | |
77 sleep (seconds); | 80 sleep (seconds); |
81 #endif | |
78 } | 82 } |
79 | 83 |
80 void | 84 void |
81 octave_usleep (unsigned int useconds) | 85 octave_usleep (unsigned int useconds) |
82 { | 86 { |