itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sleep.h
1 /*xxx
2 * \brief - define sleep function for debugging
3 * \author maki
4 */
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 
11 #ifndef SLEEP_H
12 #define SLEEP_H
13 
14 #include <time.h>
15 
16 #define SLEEP_TIME_MS 1000
17 
18  void sleep(unsigned int mseconds);
19  void go_sleep();
20  void set_sleep_time(unsigned int mseconds);
21 
22 #endif
23 
24 #ifdef __cplusplus
25 }
26 #endif
27