mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-18 02:11:28 +00:00
22 lines
267 B
C
22 lines
267 B
C
|
#pragma once
|
||
|
|
||
|
struct rTimer
|
||
|
{
|
||
|
rTimer();
|
||
|
rTimer(const rTimer& other) = delete;
|
||
|
~rTimer();
|
||
|
void Start();
|
||
|
void Stop();
|
||
|
private:
|
||
|
void *handle;
|
||
|
};
|
||
|
|
||
|
void rSleep(u32 time);
|
||
|
void rMicroSleep(u64 time);
|
||
|
|
||
|
struct rThread
|
||
|
{
|
||
|
static bool IsMain();
|
||
|
};
|
||
|
|
||
|
void rYieldIfNeeded();
|