Changeset 2256
- Timestamp:
- 21/08/2008 12:06:55 (3 months ago)
- Files:
-
- box/trunk/lib/server/ServerStream.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
box/trunk/lib/server/ServerStream.h
r2127 r2256 121 121 } 122 122 123 protected: 124 virtual void NotifyListenerIsReady() { } 125 126 public: 123 127 virtual void Run2(bool &rChildExit) 124 128 { 125 129 try 126 130 { 127 // Wait object with a timeout of 10 seconds, which is a reasonable time to wait before 128 // cleaning up finished child processes. 129 WaitForEvent connectionWait(10000); 131 // Wait object with a timeout of 1 second, which 132 // is a reasonable time to wait before cleaning up 133 // finished child processes, and allows the daemon 134 // to terminate reasonably quickly on request. 135 WaitForEvent connectionWait(1000); 130 136 131 137 // BLOCK … … 219 225 } 220 226 } 227 228 NotifyListenerIsReady(); 221 229 222 230 while(!StopRun())
