Also true for OS X.

This commit is contained in:
Steve Checkoway
2004-09-07 13:14:36 +00:00
parent 7b2ec2cee3
commit be70a826c6
@@ -20,6 +20,9 @@ uint64_t GetCurrentThreadId()
bool GetThreadBacktraceContext(uint64_t iCrashHandle, BacktraceContext *ctx)
{
/* Can't GetThreadBacktraceContext the current thread. */
ASSERT(iCrashHandle != GetCurrentThreadId());
thread_act_t thread = thread_act_t(iCrashHandle);
ppc_thread_state state;
mach_msg_type_number_t count = PPC_THREAD_STATE_COUNT;