From 6ed2dcf23038cb9a1f5ec2f3f1219dee638694de Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 23 Feb 2007 10:24:51 +0000 Subject: [PATCH] Export GetInvalidThreadID() through RageThreads.h, rather than arch/Threads/Thread.h (via GetInvalidThreadId(), lowercase d). --- stepmania/src/RageThreads.cpp | 4 ++++ stepmania/src/RageThreads.h | 1 + 2 files changed, 5 insertions(+) diff --git a/stepmania/src/RageThreads.cpp b/stepmania/src/RageThreads.cpp index ba1a50e200..52bb0fbc5d 100644 --- a/stepmania/src/RageThreads.cpp +++ b/stepmania/src/RageThreads.cpp @@ -360,6 +360,10 @@ uint64_t RageThread::GetCurrentThreadID() { return GetThisThreadId(); } +uint64_t RageThread::GetInvalidThreadID() +{ + return GetInvalidThreadId(); +} /* Normally, checkpoints are only seen in crash logs. It's occasionally useful * to see them in logs, but this outputs a huge amount of text. */ diff --git a/stepmania/src/RageThreads.h b/stepmania/src/RageThreads.h index dc0def2805..392e0f7bbd 100644 --- a/stepmania/src/RageThreads.h +++ b/stepmania/src/RageThreads.h @@ -39,6 +39,7 @@ public: static bool GetIsShowingDialog() { return s_bIsShowingDialog; } static void SetIsShowingDialog( bool b ) { s_bIsShowingDialog = b; } + static uint64_t GetInvalidThreadID(); private: ThreadSlot *m_pSlot;