mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-21 19:27:09 +01:00
Update POCO library.
This commit is contained in:
1 parent
8d15f4b6e9
commit
233fc103f9
2521 files changed
+257092
-72789
No files matched your search
+6
-6
@@ -24,21 +24,21 @@ namespace
|
||||
class ActiveObject
|
||||
{
|
||||
public:
|
||||
ActiveObject():
|
||||
ActiveObject():
|
||||
_activity(this, &ActiveObject::run),
|
||||
_count(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
~ActiveObject()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Activity<ActiveObject>& activity()
|
||||
{
|
||||
return _activity;
|
||||
}
|
||||
|
||||
|
||||
Poco::UInt64 count() const
|
||||
{
|
||||
return _count;
|
||||
@@ -47,7 +47,7 @@ namespace
|
||||
protected:
|
||||
void run()
|
||||
{
|
||||
while (!_activity.isStopped())
|
||||
while (!_activity.isStopped())
|
||||
++_count;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace
|
||||
Poco::UInt64 _count;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
ActivityTest::ActivityTest(const std::string& name): CppUnit::TestCase(name)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user