ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/DataReader.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/DataReader.java (file contents):
Revision 1.1 by ajm, Sun Jan 14 21:22:34 2001 UTC vs.
Revision 1.4 by ajm, Mon Jan 15 03:15:06 2001 UTC

# Line 31 | Line 31 | public class DataReader extends Thread {
31  
32      public void run() {
33          boolean running = true;
34 <        while (running){
35 <            try {
36 <                
34 >        try {
35 >            while (true) {
36                  _xml = _inBound.readLine();
37 +                synchronized (this) {
38 +                    notifyAll();
39 +                }
40              }
41 <            catch (IOException e) {
41 >        } catch (IOException e) {
42                  System.err.println("This DataReader thread has been shut down as an exception occured: "+e);
43                  running = false;
44                  return;
43            }
45          }
46      }
47  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines