Fix from comments

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
This commit is contained in:
brentholtsclaw
2020-05-13 09:19:57 -07:00
committed by BrentHoltsclaw
parent 66f93f1b3d
commit cd7bc14ea6
+1 -1
View File
@@ -671,7 +671,7 @@ class LinuxHelper(Helper):
def set_affinity(self, thread_id):
if thread_id < self.get_affinity():
os.sched_setaffinity(thread_id)
os.sched_setaffinity(thread_id,{thread_id})
return thread_id
else:
return None