Skip to content

Commit 7175e86

Browse files
authored
removed duplicate conditional compilation (#77428)
1 parent ee41716 commit 7175e86

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/coreclr/nativeaot/Runtime/threadstore.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,6 @@ void ThreadStore::ResumeAllThreads(bool waitForGCEvent)
341341
UnlockThreadStore();
342342
} // ResumeAllThreads
343343

344-
#ifndef DACCESS_COMPILE
345-
346344
void ThreadStore::InitiateThreadAbort(Thread* targetThread, Object * threadAbortException, bool doRudeAbort)
347345
{
348346
SuspendAllThreads(/* waitForGCEvent = */ false);
@@ -415,8 +413,6 @@ COOP_PINVOKE_HELPER(void, RhpCancelThreadAbort, (void* thread))
415413
GetThreadStore()->CancelThreadAbort((Thread*)thread);
416414
}
417415

418-
#endif // DACCESS_COMPILE
419-
420416
C_ASSERT(sizeof(Thread) == sizeof(ThreadBuffer));
421417

422418
EXTERN_C DECLSPEC_THREAD ThreadBuffer tls_CurrentThread;

0 commit comments

Comments
 (0)