Java并发编程系列---Thread API详解

Thread API详解 1、线程sleep sleep方法是一个静态方法。他有两个重载方法。java public static native void sleep(long millis) throws InterruptedException; public static void sleep(long millis, int nanos) throws InterruptedExcept
相关文章
相关标签/搜索