src/java.base/share/classes/java/lang/Thread.java
branchniosocketimpl-branch
changeset 57301 66c3aaf31f2b
parent 57148 1a13164f3f4f
child 57339 40fdbdd92617
equal deleted inserted replaced
57299:00d475a13e29 57301:66c3aaf31f2b
   239             me.blocker = b;
   239             me.blocker = b;
   240         }
   240         }
   241     }
   241     }
   242 
   242 
   243     /**
   243     /**
   244      * Native thread id, cached here for use for threads are blocked in I/O
       
   245      * operations.
       
   246      */
       
   247     private long nativeTid;
       
   248     static void setNativeTid(long tid) {
       
   249         Thread.currentThread().nativeTid = tid;
       
   250     }
       
   251     static long nativeTid() {
       
   252         return Thread.currentThread().nativeTid;
       
   253     }
       
   254 
       
   255     /**
       
   256      * The minimum priority that a thread can have.
   244      * The minimum priority that a thread can have.
   257      */
   245      */
   258     public static final int MIN_PRIORITY = 1;
   246     public static final int MIN_PRIORITY = 1;
   259 
   247 
   260    /**
   248    /**