mirror of https://github.com/PCSX2/pcsx2.git
Threading: Move a couple of function declarations to correct location
This commit is contained in:
parent
b22e31c302
commit
64534542a9
|
@ -58,9 +58,6 @@ namespace Threading
|
||||||
virtual void OnThreadCleanup() = 0;
|
virtual void OnThreadCleanup() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Set the name of the current thread
|
|
||||||
void SetNameOfCurrentThread(const char* name);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
// pxThread - Helper class for the basics of starting/managing persistent threads.
|
// pxThread - Helper class for the basics of starting/managing persistent threads.
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -100,6 +100,9 @@ namespace Threading
|
||||||
extern u64 GetThreadCpuTime();
|
extern u64 GetThreadCpuTime();
|
||||||
extern u64 GetThreadTicksPerSecond();
|
extern u64 GetThreadTicksPerSecond();
|
||||||
|
|
||||||
|
/// Set the name of the current thread
|
||||||
|
extern void SetNameOfCurrentThread(const char* name);
|
||||||
|
|
||||||
// Yields the current thread and provides cancellation points if the thread is managed by
|
// Yields the current thread and provides cancellation points if the thread is managed by
|
||||||
// pxThread. Unmanaged threads use standard Sleep.
|
// pxThread. Unmanaged threads use standard Sleep.
|
||||||
extern void pxYield(int ms);
|
extern void pxYield(int ms);
|
||||||
|
|
Loading…
Reference in New Issue