diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-02 08:05:07 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-09-02 08:05:07 +0000 |
commit | 3edf3bec2d407a2e3f5da9f22c9724795811a7df (patch) | |
tree | 5d381c24b941672ebf8b123165aebff6277464f5 /gcc/ada/s-winext.ads | |
parent | 98b6691ba4c1f1e991b2b80fec89ef194b99ccf6 (diff) | |
download | gcc-3edf3bec2d407a2e3f5da9f22c9724795811a7df.tar.gz |
2011-09-02 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 178437 using svnmerge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@178439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-winext.ads')
-rw-r--r-- | gcc/ada/s-winext.ads | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/s-winext.ads b/gcc/ada/s-winext.ads index 22a7ab29ba0..803a6483ca4 100644 --- a/gcc/ada/s-winext.ads +++ b/gcc/ada/s-winext.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2009, Free Software Foundation, Inc. -- +-- Copyright (C) 2009-2011, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -53,6 +53,11 @@ package System.Win32.Ext is dwIdealProcessor : ProcessorId) return DWORD; pragma Import (Stdcall, SetThreadIdealProcessor, "SetThreadIdealProcessor"); + function SetThreadAffinityMask + (hThread : HANDLE; + dwThreadAffinityMask : DWORD) return DWORD; + pragma Import (Stdcall, SetThreadAffinityMask, "SetThreadAffinityMask"); + -------------- -- Com Port -- -------------- |