/[classpath]/classpath/vm/reference/java/lang/Thread.java
ViewVC logotype

Diff of /classpath/vm/reference/java/lang/Thread.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by mark, Thu Oct 3 16:07:34 2002 UTC revision 1.24 by cbj, Tue Apr 8 03:35:22 2003 UTC
# Line 289  public class Thread implements Runnable Line 289  public class Thread implements Runnable
289    }    }
290    
291    /**    /**
292     * Get the currently executing Thread.     * Get the currently executing Thread. In the situation that the
293       * currently running thread was created by native code and doesn't
294       * have an associated Thread object yet, currentThread() should set
295       * a flag and then attempt to construct and return a new Thread object.
296       * When currentThread() is invoked again recursively by the Thread
297       * constructor, the flag will already be set and in that second case
298       * currentThread() should just return null. currentThread() should not
299       * return a non-null value until after the constructor has returned.
300     *     *
301     * @return the currently executing Thread     * @return the currently executing Thread
302     */     */

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26