We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/test/java/alarmclock/AlarmClock.java:191: warning: Thread Safety Violation 2 Read/Write race. Non-private method Monitor.wakeme(...) indirectly reads without synchronization from this.waitList.list.[_]. Potentially races with write in method Monitor.tick(). Reporting because this access may occur on a background thread. 189. */ 190. try { 191. > synchronized (waitList.getLock(waketime)) { 192. try { 193. waitList.getLock(waketime).wait();
Monitor.wakeme(...)
this.waitList.list.[_]
Monitor.tick()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
src/test/java/alarmclock/AlarmClock.java:191: warning: Thread Safety Violation 2
Read/Write race. Non-private method
Monitor.wakeme(...)
indirectly reads without synchronization fromthis.waitList.list.[_]
. Potentially races with write in methodMonitor.tick()
.Reporting because this access may occur on a background thread.
189. */
190. try {
191. > synchronized (waitList.getLock(waketime)) {
192. try {
193. waitList.getLock(waketime).wait();
The text was updated successfully, but these errors were encountered: