Set thread affinity with +RTS -qa (only on Linux so far)
[ghc-hetmet.git] / includes / OSThreads.h
index 73ef4d2..f5c434f 100644 (file)
@@ -186,8 +186,8 @@ void  setThreadLocalVar (ThreadLocalKey *key, void *value);
 void  freeThreadLocalKey (ThreadLocalKey *key);
 
 // Processors and affinity
-nat getNumberOfProcessors (void);
-
+nat  getNumberOfProcessors (void);
+void setThreadAffinity     (nat n, nat m);
 #endif // !CMINUSMINUS
 
 #else