You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the barrier (true/false) was never read. It was only
checked for !=null. The value had been read in waitOnSelf() without any
multithreading semantics like synchronize/volatile.
Instead now we use a thread safe AtomicBoolean. The synchronization
blocks are still used for wait()/notifyAll()
eclipse-equinox#568
Copy file name to clipboardexpand all lines: bundles/org.eclipse.equinox.p2.transport.ecf/src/org/eclipse/equinox/internal/p2/transport/ecf/FileInfoReader.java
+23-23
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
importjava.io.FileNotFoundException;
15
15
importjava.io.IOException;
16
16
importjava.net.URI;
17
+
importjava.util.concurrent.atomic.AtomicBoolean;
17
18
importorg.eclipse.core.runtime.*;
18
19
importorg.eclipse.core.runtime.jobs.Job;
19
20
importorg.eclipse.ecf.core.*;
@@ -34,21 +35,21 @@
34
35
* ECF). If such support is added, this class is easily modified.
0 commit comments