Menu

[424828]: / src / rtlib / hook_sleep.c  Maximize  Restore  History

Download this file

19 lines (15 with data), 294 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/* sleep function */
#include "fb.h"
/*:::::*/
FBCALL void fb_Sleep ( int msecs )
{
FB_SLEEPPROC sleepproc;
FB_LOCK();
sleepproc = __fb_ctx.hooks.sleepproc;
FB_UNLOCK();
if( sleepproc ) {
sleepproc( msecs );
} else {
fb_ConsoleSleep( msecs );
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.