mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
30b8e51234
SC_Semaphore errors fixed Room for interrupt threads
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(); |