瀏覽代碼

Identified necessary unix command to find number of processors

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7101 8c9fc860-2736-0410-a75d-ab315db34111
skoster 8 年之前
父節點
當前提交
72cfeb2f79
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/Generic.Unix.I386.Machine.Mod

+ 1 - 0
source/Generic.Unix.I386.Machine.Mod

@@ -570,6 +570,7 @@ END GetTimer;
 	(* function returning the number of processors that are available to Aos *)
 	PROCEDURE NumberOfProcessors*( ): LONGINT;
 	BEGIN
+		(*todo: use unix command nproc*)
 		RETURN 1
 	END NumberOfProcessors;