git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
support
/
general
/
src
/
main
/
java
/
org
/
wamblee
/
concurrency
/
ReadWriteLock.java
diff --git
a/support/general/src/main/java/org/wamblee/concurrency/ReadWriteLock.java
b/support/general/src/main/java/org/wamblee/concurrency/ReadWriteLock.java
index 59f876c94d3e293d1e290c9b380b0e968c5649fa..8c5abfc46bd5246aca1b51e75737abb999985dec 100644
(file)
--- a/
support/general/src/main/java/org/wamblee/concurrency/ReadWriteLock.java
+++ b/
support/general/src/main/java/org/wamblee/concurrency/ReadWriteLock.java
@@
-22,7
+22,12
@@
import java.util.HashSet;
* writer. This implementation does not aim for high performance but for
* robustness and simplicity. Users of this class should not synchronize on
* objects of this class.
* writer. This implementation does not aim for high performance but for
* robustness and simplicity. Users of this class should not synchronize on
* objects of this class.
+ *
+ * This class was originally developed for a Java developer certification.
+ * It is deprecated now and {@link java.util.concurrent.locks.ReadWriteLock} should be used
+ * instead.
*/
*/
+@Deprecated
public class ReadWriteLock {
/**
* Sets containing the references to the threads that are currently reading.
public class ReadWriteLock {
/**
* Sets containing the references to the threads that are currently reading.