[*] Microsoft is really taking the fucking piss again
This commit is contained in:
parent
81d7c7027c
commit
0edf00ffc8
@ -478,12 +478,18 @@ namespace Aurora
|
||||
gUseNativeWaitSemapahore = bool(pWaitOnAddress);
|
||||
}
|
||||
|
||||
static bool IsNetbookXpOrWin7Laptop()
|
||||
{
|
||||
return bool(GetEnvironmentVariableW(L"AURORA_IS_NETBOOK", nullptr, 0));
|
||||
}
|
||||
|
||||
void Win32DropInit()
|
||||
{
|
||||
gShouldResPathDoNothing =
|
||||
(AuBuild::kCurrentPlatform != AuBuild::EPlatform::ePlatformWin32) ||
|
||||
(!gRuntimeConfig.threadingConfig.bEnableAggressiveScheduling &&
|
||||
AuSwInfo::IsWindows10OrGreater());
|
||||
AuSwInfo::IsWindows10OrGreater()) ||
|
||||
IsNetbookXpOrWin7Laptop();
|
||||
|
||||
gUseFastFail = AuSwInfo::IsWindows8Point1OrGreater()
|
||||
#if defined(PF_FASTFAIL_AVAILABLE)
|
||||
@ -514,6 +520,7 @@ namespace Aurora
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(PROCESS_POWER_THROTTLING_CURRENT_VERSION)
|
||||
if (pSetProcessInformation &&
|
||||
AuSwInfo::IsWindows10OrGreater())
|
||||
{
|
||||
@ -527,7 +534,22 @@ namespace Aurora
|
||||
// SWAP: [ (UNUSED HUGE FILE) (UNUSED HUGE FILE) (UNUSED HUGE FILE) (UNUSED HUGE FILE) (UNUSED HUGE FILE) (HUGE FILE) (HEAP BACKUP LOL) (SOME EXTRA SWAP SPACE YOU WONT BE ABLE TO USE) ] )
|
||||
// I'll let you know when we devolve into writing worthless chrome_helper.exe (42) processes allegedly doing some sandboxing of perceived value. Until then, let's assume our processes aren't *literal* retards staring into the abyss all day.
|
||||
//
|
||||
// Disable via: gRuntimeConfig.threadingConfig.bEnableAggressiveScheduling (def: true)
|
||||
// Disable via: gRuntimeConfig.threadingConfig.bEnableAggressiveScheduling (def: false - unless defacto high perf application under xp-win7; use envvar AURORA_IS_NETBOOK to opt out)
|
||||
//
|
||||
// Update (2024/03): Fuck off; I'm doubling down on this messaging.
|
||||
// Read into the absolute state of this, bio: "Using my 80,000 hours to evolve how anyone with an idea can apply technology to solve real problems."
|
||||
// https://github.com/microsoft/WindowsAppSDK/discussions/2525
|
||||
// https://github.com/dotnet/runtime/issues/66417
|
||||
// Microsoft is planning on using data from https://app.electricitymaps.com/map, such that if you live in an area with "high climate impact of electricity," they're going to start shifting workloads to e-cores by default.
|
||||
// To reiterate, fuck off CurryBlows 11 and fuck you SoySoft. https://nextcloud.reece.sx/index.php/s/k4iGrJKsqxwPpjp moment
|
||||
//
|
||||
// Reece, [16/03/2024 18:11]
|
||||
// `Imagine paying any amount of money for a computer above Ivan's ewaste shitbox standards, just for Microsoft to tell you [...]`
|
||||
// [...] that MuH EnerGy GrId is ChArGinG toO mAnY TeSlAs of KarEns
|
||||
// [...] TeXas CanT GeT ThEir ShiT ToGetTheR
|
||||
// [...] CaLIiFoRnyanya is turning into a third world shithole with rolling blackouts worse than north korea (best korea - now with 100% less kpop slavery)
|
||||
//
|
||||
// Wake me when those soy infested over privileged retards commit to going one year without air conditioning and the mexicans' ball gargling service to go
|
||||
|
||||
if (AuThreading::InitOnceLocker::TryLock(&gInitOnce))
|
||||
{
|
||||
@ -551,6 +573,7 @@ namespace Aurora
|
||||
AuThreading::InitOnceLocker::Finish(&gInitOnce);
|
||||
} /* else no-wait. intentionally nop*/
|
||||
}
|
||||
#endif
|
||||
|
||||
if (pZwSetTimerResolution)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user