mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-15 22:08:00 +08:00
22 lines
300 B
C++
22 lines
300 B
C++
#include "sys.hpp"
|
|
#include "fiber_pool.hpp"
|
|
#include "script.hpp"
|
|
|
|
namespace big
|
|
{
|
|
static bool busy = false;
|
|
|
|
void sys::loop()
|
|
{
|
|
if (busy) return;
|
|
busy = true;
|
|
|
|
QUEUE_JOB_BEGIN_CLAUSE()
|
|
{
|
|
update_player_structs();
|
|
update_screen_sizes();
|
|
|
|
busy = false;
|
|
}QUEUE_JOB_END_CLAUSE
|
|
}
|
|
} |