Skip to the content.

Home / cs-notes / Language / Java / Concurrent / Code / Thread / currentThread

    /**
     * Returns a reference to the currently executing thread object.
     *
     * @return  the currently executing thread.
     */
    @HotSpotIntrinsicCandidate
    public static native Thread currentThread();