forked from I2P_Developers/i2p.i2p
SusiMail: Thread the loading from disk
This commit is contained in:
@ -269,6 +269,15 @@ public abstract class SystemVersion {
|
||||
return maxMemory;
|
||||
}
|
||||
|
||||
/**
|
||||
* Runtime.getRuntime().availableProcssors()
|
||||
* @return never smaller than 1
|
||||
* @since 0.9.34
|
||||
*/
|
||||
public static int getCores() {
|
||||
return Runtime.getRuntime().availableProcessors();
|
||||
}
|
||||
|
||||
/**
|
||||
* The system's time zone, which is probably different from the
|
||||
* JVM time zone, because Router changes the JVM default to GMT.
|
||||
@ -313,6 +322,7 @@ public abstract class SystemVersion {
|
||||
System.out.println(" Version: " + getAndroidVersion());
|
||||
System.out.println("Apache : " + isApache());
|
||||
System.out.println("ARM : " + isARM());
|
||||
System.out.println("Cores : " + getCores());
|
||||
System.out.println("Gentoo : " + isGentoo());
|
||||
System.out.println("GNU : " + isGNU());
|
||||
System.out.println("Linux Svc: " + isLinuxService());
|
||||
|
Reference in New Issue
Block a user