Example #1
0
unsigned int sleep(unsigned int seconds)
{
	if (!acl_var_hook_sys_api)
		return __sys_sleep(seconds);

	return acl_fiber_sleep(seconds);
}
Example #2
0
unsigned int sleep(unsigned int seconds)
{
	if (!acl_var_hook_sys_api) {
		if (__sys_sleep == NULL)
			hook_io();

		return __sys_sleep(seconds);
	}

	return acl_fiber_sleep(seconds);
}