FreeBASIC  0.91.0
time_sleepex.c
Go to the documentation of this file.
1 /* sleep multiplexer function */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 FBCALL int fb_SleepEx ( int msecs, int kind )
7 {
8  switch( kind ) {
9  case 0:
10  fb_Sleep( msecs );
11  break;
12  case 1:
13  fb_Delay( msecs );
14  break;
15  default:
17  }
18  return fb_ErrorSetNum( FB_RTERROR_OK );
19 }
20