< prev index next >

src/java.base/unix/classes/sun/nio/ch/NativeThread.java

Print this page
@@ -50,18 +50,10 @@
          } else {
              return current0();
          }
      }
  
-     /**
-      * Returns the id of the current native thread if the platform can signal
-      * native threads, 0 if the platform can not signal native threads.
-      */
-     static long currentNativeThread() {
-         return current0();
-     }
- 
      /**
       * Signals the given native thread.
       *
       * @throws IllegalArgumentException if tid is not a token to a native thread
       */
< prev index next >