[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/runtime/Platform InfoMethods.cs, 1.5, 1.6
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/runtime/Platform InfoMethods.cs, 1.5, 1.6 |
Date: |
Thu, 20 Nov 2003 05:51:57 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv15853/runtime/Platform
Modified Files:
InfoMethods.cs
Log Message:
Add the "Environment.ProcessorCount" property for 1.2 compatibility.
Index: InfoMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/InfoMethods.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** InfoMethods.cs 19 Sep 2003 02:18:25 -0000 1.5
--- InfoMethods.cs 20 Nov 2003 05:51:55 -0000 1.6
***************
*** 75,78 ****
--- 75,82 ----
extern public static String GetUserStorageDir();
+ // Get the number of processors on this machine.
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ extern public static int GetProcessorCount();
+
}; // class InfoMethods
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/runtime/Platform InfoMethods.cs, 1.5, 1.6,
Rhys Weatherley <address@hidden> <=