From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89060 invoked by alias); 17 Dec 2019 15:45:35 -0000 Mailing-List: contact cygwin-cvs-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-cvs-owner@cygwin.com Received: (qmail 88933 invoked by uid 9078); 17 Dec 2019 15:45:29 -0000 Date: Tue, 17 Dec 2019 15:45:00 -0000 Message-ID: <20191217154529.88932.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: autoload: Add missing GetProcessGroupAffinity/GetThreadGroupAffinity X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: ed2a469cdd281182fe2a9c2c6fcb3da3fa659979 X-Git-Newrev: 26cc7769b4b587564b610845eed9bf4efb1b16f7 X-SW-Source: 2019-q4/txt/msg00039.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=26cc7769b4b587564b610845eed9bf4efb1b16f7 commit 26cc7769b4b587564b610845eed9bf4efb1b16f7 Author: Corinna Vinschen 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 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)