ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/LinkedAsyncAction.java
(Generate patch)

Comparing jsr166/src/test/loops/LinkedAsyncAction.java (file contents):
Revision 1.1 by dl, Sun Sep 19 12:55:37 2010 UTC vs.
Revision 1.3 by jsr166, Fri Jul 1 02:37:22 2011 UTC

# Line 312 | Line 312 | public abstract class LinkedAsyncAction
312       * @param update the new value
313       * @return true if successful
314       */
315 <    protected final boolean compareAndSetControlState(int expect,
315 >    protected final boolean compareAndSetControlState(int expect,
316                                                        int update) {
317          return controlStateUpdater.compareAndSet(this, expect, update);
318      }
319  
320      /**
321 <     * Sets the control state to the given value,
321 >     * Sets the control state to the given value.
322       * @param value the new value
323       */
324      protected final void setControlState(int value) {
# Line 326 | Line 326 | public abstract class LinkedAsyncAction
326      }
327  
328      /**
329 <     * Increment the control state
329 >     * Increments the control state.
330       * @return true if successful
331       */
332      protected final void incrementControlState() {
# Line 334 | Line 334 | public abstract class LinkedAsyncAction
334      }
335  
336      /**
337 <     * Decrement the control state
337 >     * Decrements the control state.
338       * @return true if successful
339       */
340      protected final void decrementControlState() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines