Threading: Move a couple of function declarations to correct location

This commit is contained in:
Connor McLaughlin 2022-05-05 23:01:02 +10:00 committed by refractionpcsx2
parent b22e31c302
commit 64534542a9
2 changed files with 3 additions and 3 deletions

View File

@ -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.
// --------------------------------------------------------------------------------------

View File

@ -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);