Incorporate snippets code improvements from Pavel Rappo
Redo @link and @linkplain; one @link was pointing to the wrong poll method
Improve drainPermits javadoc
Clarify drainPermits spec
fix code sample indentation
standardize code sample idiom: * <pre> {@code
another attempt to improve clarity
revert nano-copy-paste bug
whitespace
consistent wording for "synchronization control" warning
standardize import statement order
Fix markup syntax
Documentation improvements
Documentation improvements
normalize whitespace after <p>
no blank line between javadoc and corresponding code
delete trailing empty lines of javadoc
Help javadoc resolve link
fix imports
consistent style for code snippets
clean up imports
Update Creative Commons license URL in legal notices
whitespace
use blessed declaration modifier order
6941130: Semaphore should throw if number of permits overflows or underflows
Sync with OpenJDK; untabify
6574123: Help implementers of fair synchronizers
6404123: @link => @linkplain and other minor doc fixes
happens-before
whitespace
Edit pass for happens-before descriptions
Happens-before markup
Add serial ids
doc fixes
Documentation improvements
Documentation wording fixes
Wording fixes and improvements
Wording fixes and improvements
Wording improvements and fixes
Simplify/shorten AQS method names
Document toString
Added toString
Cosmetics
isFirst->getFirstQueuedThread
replace isFirst param with isFirst method
Better param names; simpler fairness handling
Code walkthrough misc
Avoid timeout problems in fair modes; improve AQS method names
Use ACS in FutureTask; doc improvements
AQS API improvements
Avoid cache threashing
Clarify tryLock/timeout policy
Simplify AQS hook methods
Adjust to AQS changes
Headers reference Creative Commons
Adapt to AbstractQueuedSynchronizer
Fix documentation
Uses AbstractQueuedSynchronizer instead of cloned code
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves
Wording and typo cleanup pass
Typo fix
Avoid self-signal
Merged FairSemaphore into Semaphore
Reworked PriviligedFutureTask; added Semaphore.reducePermits; moved factories
Redeclare some Conditions as ReentrantLock.ConditionObjects
Use "unit" instead of "granularity"; add Executors link to first sentence of TPE
Spellcheck
Removed non-standard tags and misc javadoc cleanup
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.
serialVersionUIDs
Scrunched catch, finally, else clauses.
Fair semaphores actually fair now.
Misc performance tunings
Locks in subpackage; fairness params added
Added missing javadoc tags; minor reformatting
Added to emulation Fixed some javadoc format errors
re-check-in initial implementations
Moved main source rooted at . to ./src/main Moved test source rooted at ./etc/testcases to ./src/test
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.