File tree 2 files changed +7
-0
lines changed
library/std/src/sys/windows/c
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2480,6 +2480,7 @@ Windows.Win32.System.SystemInformation.GetSystemTimeAsFileTime
2480
2480
Windows.Win32.System.SystemInformation.GetWindowsDirectoryW
2481
2481
Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE
2482
2482
Windows.Win32.System.SystemInformation.SYSTEM_INFO
2483
+ Windows.Win32.System.SystemServices.ALL_PROCESSOR_GROUPS
2483
2484
Windows.Win32.System.SystemServices.DLL_PROCESS_DETACH
2484
2485
Windows.Win32.System.SystemServices.DLL_THREAD_DETACH
2485
2486
Windows.Win32.System.SystemServices.EXCEPTION_MAXIMUM_PARAMETERS
@@ -2512,6 +2513,7 @@ Windows.Win32.System.Threading.DeleteProcThreadAttributeList
2512
2513
Windows.Win32.System.Threading.DETACHED_PROCESS
2513
2514
Windows.Win32.System.Threading.ExitProcess
2514
2515
Windows.Win32.System.Threading.EXTENDED_STARTUPINFO_PRESENT
2516
+ Windows.Win32.System.Threading.GetActiveProcessorCount
2515
2517
Windows.Win32.System.Threading.GetCurrentProcess
2516
2518
Windows.Win32.System.Threading.GetCurrentProcessId
2517
2519
Windows.Win32.System.Threading.GetCurrentThread
Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ extern "system" {
220
220
pub fn FreeEnvironmentStringsW ( penv : PCWSTR ) -> BOOL ;
221
221
}
222
222
#[ link( name = "kernel32" ) ]
223
+ extern "system" {
224
+ pub fn GetActiveProcessorCount ( groupnumber : u16 ) -> u32 ;
225
+ }
226
+ #[ link( name = "kernel32" ) ]
223
227
extern "system" {
224
228
pub fn GetCommandLineW ( ) -> PCWSTR ;
225
229
}
@@ -844,6 +848,7 @@ impl ::core::clone::Clone for ADDRINFOA {
844
848
pub const AF_INET : ADDRESS_FAMILY = 2u16 ;
845
849
pub const AF_INET6 : ADDRESS_FAMILY = 23u16 ;
846
850
pub const AF_UNSPEC : ADDRESS_FAMILY = 0u16 ;
851
+ pub const ALL_PROCESSOR_GROUPS : u32 = 65535u32 ;
847
852
#[ repr( C ) ]
848
853
pub union ARM64_NT_NEON128 {
849
854
pub Anonymous : ARM64_NT_NEON128_0 ,
You can’t perform that action at this time.
0 commit comments