public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: autoload: Add missing GetProcessGroupAffinity/GetThreadGroupAffinity
@ 2019-12-17 15:45 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-12-17 15:45 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=26cc7769b4b587564b610845eed9bf4efb1b16f7

commit 26cc7769b4b587564b610845eed9bf4efb1b16f7
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Dec 17 16:44:54 2019 +0100

    Cygwin: autoload: Add missing GetProcessGroupAffinity/GetThreadGroupAffinity
    
    Both functions were introduce with Windows 7 only, so we need to
    autoload them for the sake of Vista/2008.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/autoload.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 1851ab3..454bf51 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -584,7 +584,9 @@ LoadDLLfunc (if_nametoindex, 4, iphlpapi)
 LoadDLLfuncEx2 (DiscardVirtualMemory, 8, kernel32, 1, 127)
 LoadDLLfunc (GetCurrentProcessorNumberEx, 4, kernel32)
 LoadDLLfuncEx (GetLogicalProcessorInformationEx, 12, kernel32, 1)
+LoadDLLfuncEx (GetProcessGroupAffinity, 12, kernel32, 1)
 LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32)
+LoadDLLfuncEx (GetThreadGroupAffinity, 8, kernel32, 1)
 LoadDLLfuncEx (PrefetchVirtualMemory, 16, kernel32, 1)
 LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-17 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-17 15:45 [newlib-cygwin] Cygwin: autoload: Add missing GetProcessGroupAffinity/GetThreadGroupAffinity Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).