ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/GoogleTron.cpp
(Generate patch)

Comparing GoogleTron/GoogleTron.cpp (file contents):
Revision 698 by douglas, 2006-03-12T19:28:22-08:00 vs.
Revision 705 by douglas, 2006-03-18T20:49:26-08:00

# Line 96 | Line 96 | int GoogleTron::Output()
96                  Sleep();
97  
98                  _synchronized (queueLock)
99 <                        if (queue.GetSize())
99 >                        while (queue.GetSize())
100                          {
101                                  xml::ScopeElement url_(writer, _B("url"));
102                                  const Url &url(queue.Front());
# Line 126 | Line 126 | int GoogleTron::Output()
126                                  }
127  
128                                  queue.Pop();
129 +                
130 +                                _desynchronized (queueLock)
131 +                                        Sleep();
132                          }
133          }
134          while (working);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines