[PATCH 4/8] add processthreadapi.h

Roman Stingler roman.stingler at gmail.com
Wed May 8 12:35:50 CDT 2019


Signed-off-by: Roman Stingler <roman.stingler at gmail.com>
---
 include/processthreadapi.h | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 include/processthreadapi.h

diff --git a/include/processthreadapi.h b/include/processthreadapi.h
new file mode 100644
index 0000000000..4a99770a15
--- /dev/null
+++ b/include/processthreadapi.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2019 Roman Stingler
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef _PROCESSTHREADAPI_H
+#define _PROCESSTHREADAPI_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum _CPU_SET_INFORMATION_TYPE {
+    CpuSetInformation
+} CPU_SET_INFORMATION_TYPE, *PCPU_SET_INFORMATION_TYPE;
+
+
+WINBASEAPI BOOL WINAPI SetThreadSelectedCpuSets(HANDLE,const ULONG *,ULONG);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //WINE_SOURCE_PROCESSTHREADAPI_H
-- 
2.21.0




More information about the wine-devel mailing list