ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Semaphore.java
Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Feb 10 12:16:08 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
Wording fixes and improvements

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 13:28:48 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.40: +5 -4 lines
Diff to previous 1.40
Wording fixes and improvements

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 00:23:55 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.39: +7 -8 lines
Diff to previous 1.39
Wording improvements and fixes

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 16:02:17 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38
Simplify/shorten AQS method names

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Jan 10 20:37:03 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.37: +5 -2 lines
Diff to previous 1.37
Document toString

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sat Jan 10 01:41:44 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.36: +9 -0 lines
Diff to previous 1.36
Added toString

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Jan 9 14:45:17 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.35: +27 -15 lines
Diff to previous 1.35
Cosmetics

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Jan 8 01:28:48 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34
isFirst->getFirstQueuedThread

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 01:00:51 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.33: +49 -17 lines
Diff to previous 1.33
replace isFirst param with isFirst method

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 22:57:29 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32
Better param names; simpler fairness handling

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Jan 4 00:56:48 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
Code walkthrough misc

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 21:02:31 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.30: +22 -6 lines
Diff to previous 1.30
Avoid timeout problems in fair modes; improve AQS method names

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 00:38:33 2004 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
Use ACS in FutureTask; doc improvements

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 21:30:00 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.28: +23 -10 lines
Diff to previous 1.28
AQS API improvements

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Dec 30 15:47:48 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.27: +9 -26 lines
Diff to previous 1.27
Avoid cache threashing

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 16:38:06 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.26: +22 -2 lines
Diff to previous 1.26
Clarify tryLock/timeout policy

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 14:19:17 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.25: +5 -8 lines
Diff to previous 1.25
Simplify AQS hook methods

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 15:53:16 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.24: +12 -11 lines
Diff to previous 1.24
Adjust to AQS changes

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:26 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
Headers reference Creative Commons

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 17:19:03 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.22: +94 -57 lines
Diff to previous 1.22
Adapt to AbstractQueuedSynchronizer

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 14:48:44 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.21: +53 -38 lines
Diff to previous 1.21
Fix documentation

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 14:15:22 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.20: +35 -281 lines
Diff to previous 1.20
Uses AbstractQueuedSynchronizer instead of cloned code

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 19:38:09 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Nov 10 17:31:23 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT
Changes since 1.18: +5 -5 lines
Diff to previous 1.18
Wording and typo cleanup pass

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 12:50:01 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
Typo fix

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 18:06:51 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_NOV3_FREEZE
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
Avoid self-signal

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 13:49:56 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.15: +544 -124 lines
Diff to previous 1.15
Merged FairSemaphore into Semaphore

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Nov 1 18:36:04 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.14: +20 -3 lines
Diff to previous 1.14
Reworked PriviligedFutureTask; added Semaphore.reducePermits; moved factories

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Oct 11 15:37:31 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
Redeclare some Conditions as ReentrantLock.ConditionObjects

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Sep 27 12:22:40 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
Use "unit" instead of "granularity"; add Executors link to first sentence of TPE

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 11:37:11 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11
Spellcheck

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 13:33:14 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.10: +0 -3 lines
Diff to previous 1.10
Removed non-standard tags and misc javadoc cleanup

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Aug 26 00:09:18 2003 UTC (20 years, 9 months ago) by dholmes
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
In response to Eamonn's comment that "best effort lower bound" is not
defined for waiting times, all such references have been deleted. The
preceding text makes it clear that the time must elapse before the
method will return, and trying to say anything about the maximum waiting
time is pointless. We can still say something to this effect in the package
docs if we want.

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Aug 25 19:27:58 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8
serialVersionUIDs

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 20:05:07 2003 UTC (20 years, 10 months ago) by tim
Branch: MAIN
Changes since 1.7: +10 -19 lines
Diff to previous 1.7
Scrunched catch, finally, else clauses.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Jul 11 13:12:06 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_CR1, JSR166_PRELIMINARY_TEST_RELEASE_2
Changes since 1.6: +2 -5 lines
Diff to previous 1.6
Fair semaphores actually fair now.

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Jul 9 23:23:17 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.5: +5 -2 lines
Diff to previous 1.5
Misc performance tunings

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 00:46:35 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4
Locks in subpackage; fairness params added

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Jun 24 14:34:49 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.3: +11 -3 lines
Diff to previous 1.3
Added missing javadoc tags; minor reformatting

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 18:42:17 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
Added to emulation
Fixed some javadoc format errors

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:14:40 2003 UTC (21 years ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.1: +95 -9 lines
Diff to previous 1.1
re-check-in initial implementations

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed May 14 21:30:48 2003 UTC (21 years, 1 month ago) by tim
Branch: MAIN
Moved main source rooted at . to ./src/main
Moved test source rooted at ./etc/testcases to ./src/test

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to JSR166_PFD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a