@@ -3431,16 +3431,6 @@ inline BOOL IsGCSpecialThread ()
34313431 return !!(t_ThreadType & ThreadType_GC);
34323432}
34333433
3434- // check if current thread is a Gate thread
3435- inline BOOL IsGateSpecialThread ()
3436- {
3437- STATIC_CONTRACT_NOTHROW;
3438- STATIC_CONTRACT_GC_NOTRIGGER;
3439- STATIC_CONTRACT_MODE_ANY;
3440-
3441- return !!(t_ThreadType & ThreadType_Gate);
3442- }
3443-
34443434// check if current thread is a debugger helper thread
34453435inline BOOL IsDbgHelperSpecialThread ()
34463436{
@@ -3481,33 +3471,6 @@ inline BOOL IsShutdownSpecialThread ()
34813471 return !!(t_ThreadType & ThreadType_Shutdown);
34823472}
34833473
3484- inline BOOL IsThreadPoolIOCompletionSpecialThread ()
3485- {
3486- STATIC_CONTRACT_NOTHROW;
3487- STATIC_CONTRACT_GC_NOTRIGGER;
3488- STATIC_CONTRACT_MODE_ANY;
3489-
3490- return !!(t_ThreadType & ThreadType_Threadpool_IOCompletion);
3491- }
3492-
3493- inline BOOL IsThreadPoolWorkerSpecialThread ()
3494- {
3495- STATIC_CONTRACT_NOTHROW;
3496- STATIC_CONTRACT_GC_NOTRIGGER;
3497- STATIC_CONTRACT_MODE_ANY;
3498-
3499- return !!(t_ThreadType & ThreadType_Threadpool_Worker);
3500- }
3501-
3502- inline BOOL IsWaitSpecialThread ()
3503- {
3504- STATIC_CONTRACT_NOTHROW;
3505- STATIC_CONTRACT_GC_NOTRIGGER;
3506- STATIC_CONTRACT_MODE_ANY;
3507-
3508- return !!(t_ThreadType & ThreadType_Wait);
3509- }
3510-
35113474// check if current thread is a thread which is performing shutdown
35123475inline BOOL IsSuspendEEThread ()
35133476{
@@ -3527,15 +3490,6 @@ inline BOOL IsFinalizerThread ()
35273490 return !!(t_ThreadType & ThreadType_Finalizer);
35283491}
35293492
3530- inline BOOL IsShutdownHelperThread ()
3531- {
3532- STATIC_CONTRACT_NOTHROW;
3533- STATIC_CONTRACT_GC_NOTRIGGER;
3534- STATIC_CONTRACT_MODE_ANY;
3535-
3536- return !!(t_ThreadType & ThreadType_ShutdownHelper);
3537- }
3538-
35393493inline BOOL IsProfilerAttachThread ()
35403494{
35413495 STATIC_CONTRACT_NOTHROW;
0 commit comments