mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Threading: Move a couple of function declarations to correct location
This commit is contained in:
committed by
refractionpcsx2
parent
b22e31c302
commit
64534542a9
@@ -58,9 +58,6 @@ namespace Threading
|
||||
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.
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
@@ -100,6 +100,9 @@ namespace Threading
|
||||
extern u64 GetThreadCpuTime();
|
||||
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
|
||||
// pxThread. Unmanaged threads use standard Sleep.
|
||||
extern void pxYield(int ms);
|
||||
|
||||
Reference in New Issue
Block a user