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

Comparing jsr166/src/main/java/util/concurrent/FairSemaphore.java (file contents):
Revision 1.9 by dholmes, Mon Aug 25 22:35:45 2003 UTC vs.
Revision 1.10 by dholmes, Tue Aug 26 00:09:18 2003 UTC

# Line 186 | Line 186 | public class FairSemaphore extends Semap
186       * interrupted status is cleared.
187       * <p>If the specified waiting time elapses then the value <tt>false</tt>
188       * is returned.
189 <     * The given waiting time is a best-effort lower bound. If the time is
190 <     * less than or equal to zero, the method will not wait at all.
189 >     * If the time is less than or equal to zero, the method will not wait
190 >     * at all.
191       *
192       * @param timeout the maximum time to wait for a permit
193       * @param unit the time unit of the <tt>timeout</tt> argument.
# Line 407 | Line 407 | public class FairSemaphore extends Semap
407       *
408       * <p>If the specified waiting time elapses then the value <tt>false</tt>
409       * is returned.
410 <     * The given waiting time is a best-effort lower bound. If the time is
410 >     * If the time is
411       * less than or equal to zero, the method will not wait at all.
412       * Any permits that were to be assigned to this thread, are instead
413       * assigned to the next waiting thread(s), as if

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines