summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/Flusher.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
commit59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch)
treec3ed292df270f11157decb83827d9af4144db52d /cpp/src/IceStorm/Flusher.cpp
parentfile run.py was initially added on branch location. (diff)
downloadice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip
removed spaces after keywords
Diffstat (limited to 'cpp/src/IceStorm/Flusher.cpp')
-rw-r--r--cpp/src/IceStorm/Flusher.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/IceStorm/Flusher.cpp b/cpp/src/IceStorm/Flusher.cpp
index 55629f92407..cbfa897f004 100644
--- a/cpp/src/IceStorm/Flusher.cpp
+++ b/cpp/src/IceStorm/Flusher.cpp
@@ -35,7 +35,7 @@ public:
_destroy(false)
{
_flushTime = communicator->getProperties()->getPropertyAsIntWithDefault("IceStorm.Flush.Timeout", 1000);
- if (_flushTime < 100)
+ if(_flushTime < 100)
{
_flushTime = 100; // Minimum of 100 ms
}
@@ -49,10 +49,10 @@ public:
run()
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
- while (!_destroy)
+ while(!_destroy)
{
long tout = calcTimeout();
- if (tout == 0)
+ if(tout == 0)
{
wait();
}
@@ -60,7 +60,7 @@ public:
{
timedWait(IceUtil::Time::milliSeconds(tout));
}
- if (_destroy)
+ if(_destroy)
{
continue;
}
@@ -93,7 +93,7 @@ public:
// If the set of subscribers was previously empty then wake up
// the flushing thread since it will be waiting indefinitely
//
- if (isEmpty)
+ if(isEmpty)
{
notify();
}
@@ -129,7 +129,7 @@ private:
// Trace after the flush so that the correct number of objects
// are displayed
//
- if (_traceLevels->flush > 0)
+ if(_traceLevels->flush > 0)
{
Ice::Trace out(_traceLevels->logger, _traceLevels->flushCat);
out << _subscribers.size() << " object(s)";