ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/JSR166Support.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/JSR166Support.java (file contents):
Revision 1.3 by dl, Sat Jun 28 15:33:31 2003 UTC vs.
Revision 1.4 by dl, Tue Jul 1 16:29:52 2003 UTC

# Line 82 | Line 82 | final class JSR166Support {
82       */
83      static native void park(boolean isAbsolute, long time);
84  
85 <    static void parkNode(ReentrantLockQueueNode node, boolean isAbsolute, long time) {
85 >    /**
86 >     * Temporary version of park to allow emulation
87 >     */
88 >    static void park(ReentrantLockQueueNode node, boolean isAbsolute, long time) {
89          park(isAbsolute, time);
90      }
91  
# Line 95 | Line 98 | final class JSR166Support {
98       */
99      static native void unpark(Object thread);
100  
101 <    static void unparkNode(ReentrantLockQueueNode node) {
102 <        unpark(node.thread);
101 >    /**
102 >     *Tempoarary version of unpark to allow emulation
103 >     */
104 >    static void unpark(ReentrantLockQueueNode node, Thread thread) {
105 >        unpark(thread);
106      }
107  
108 +
109      /**
110       * Implementation of Locks.mightBeLocked.
111       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines