Skip to content

Commit

Permalink
removed duplicate conditional compilation (#77428)
Browse files Browse the repository at this point in the history
  • Loading branch information
JongHeonChoi authored Oct 25, 2022
1 parent ee41716 commit 7175e86
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/coreclr/nativeaot/Runtime/threadstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ void ThreadStore::ResumeAllThreads(bool waitForGCEvent)
UnlockThreadStore();
} // ResumeAllThreads

#ifndef DACCESS_COMPILE

void ThreadStore::InitiateThreadAbort(Thread* targetThread, Object * threadAbortException, bool doRudeAbort)
{
SuspendAllThreads(/* waitForGCEvent = */ false);
Expand Down Expand Up @@ -415,8 +413,6 @@ COOP_PINVOKE_HELPER(void, RhpCancelThreadAbort, (void* thread))
GetThreadStore()->CancelThreadAbort((Thread*)thread);
}

#endif // DACCESS_COMPILE

C_ASSERT(sizeof(Thread) == sizeof(ThreadBuffer));

EXTERN_C DECLSPEC_THREAD ThreadBuffer tls_CurrentThread;
Expand Down

0 comments on commit 7175e86

Please sign in to comment.