extern VOLATILE(int32_t) g_fSuspensionPending;
-extern uint32_t g_yieldProcessorScalingFactor;
-
::IGCHandleManager* CreateGCHandleManager();
namespace WKS {
VOLATILE(int32_t) g_fSuspensionPending = 0;
-uint32_t g_yieldProcessorScalingFactor = 1;
-
#ifdef FEATURE_MANUALLY_MANAGED_CARD_BUNDLES
uint32_t* g_gc_card_bundle_table;
#endif
{
return (size_t)(object) / card_size;
}
-
-inline
-void YieldProcessorScalingFactor()
-{
- unsigned int n = g_yieldProcessorScalingFactor;
- _ASSERTE(n != 0);
- do
- {
- YieldProcessor();
- } while (--n != 0);
-}