summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index 403c2aff..c49e0b79 100644
--- a/Process.h
+++ b/Process.h
@@ -197,9 +197,17 @@ void Process_toggleTag(Process* this);
bool Process_setPriority(Process* this, int priority);
#ifdef HAVE_HWLOC
+
Affinity* Process_getAffinity(Process* this);
bool Process_setAffinity(Process* this, Affinity* affinity);
+
+#elif HAVE_NATIVE_AFFINITY
+
+Affinity* Process_getAffinity(Process* this);
+
+bool Process_setAffinity(Process* this, Affinity* affinity);
+
#endif
void Process_sendSignal(Process* this, int sgn);