Changeset daf7e86 for core


Ignore:
Timestamp:
Feb 9, 2018 5:05:32 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
afad22a8
Parents:
768921b
Message:

SusiMail?: Thread the loading from disk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/SystemVersion.java

    r768921b rdaf7e86  
    271271
    272272    /**
     273     *  Runtime.getRuntime().availableProcssors()
     274     *  @return never smaller than 1
     275     *  @since 0.9.34
     276     */
     277    public static int getCores() {
     278        return Runtime.getRuntime().availableProcessors();
     279    }
     280
     281    /**
    273282     *  The system's time zone, which is probably different from the
    274283     *  JVM time zone, because Router changes the JVM default to GMT.
     
    314323        System.out.println("Apache   : " + isApache());
    315324        System.out.println("ARM      : " + isARM());
     325        System.out.println("Cores    : " + getCores());
    316326        System.out.println("Gentoo   : " + isGentoo());
    317327        System.out.println("GNU      : " + isGNU());
Note: See TracChangeset for help on using the changeset viewer.