[openrtm-commit:03102] r921 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 1月 23日 (火) 09:26:07 JST


Author: miyamoto
Date: 2018-01-23 09:26:07 +0900 (Tue, 23 Jan 2018)
New Revision: 921

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/CPUAffinity.py
Log:
[compat,bugfix,->RELENG_1_2] fixed bug.

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/CPUAffinity.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/CPUAffinity.py	2018-01-23 00:25:20 UTC (rev 920)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/CPUAffinity.py	2018-01-23 00:26:07 UTC (rev 921)
@@ -130,8 +130,8 @@
     h = ctypes.windll.kernel32.GetCurrentThread()
     
     result = ctypes.windll.kernel32.SetThreadAffinityMask(h, cpu_num)
-    result = ctypes.windll.kernel32.SetThreadAffinityMask(h, cpu_num)
     
+    
     if result != cpu_num:
       return False
     



More information about the openrtm-commit mailing list