aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp')
-rw-r--r--devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp b/devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp
index 7dd89df78710..6ba24af1d753 100644
--- a/devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp
+++ b/devel/ice/files/patch-cpp-test-Ice-hold-AllTests.cpp
@@ -4,46 +4,46 @@
ConditionPtr cond = new Condition(true);
int value = 0;
Ice::AsyncResultPtr result;
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
while(value < 3000 && cond->value())
{
+ if (!value)
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
result = holdSerialized->begin_set(value + 1,
IceUtilInternal::random(1),
newCallback_Hold_set(new SetCB(cond, value),
&SetCB::response,
&SetCB::exception));
+ if (!value)
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
++value;
if(value % 100 == 0)
{
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
result->waitForSent();
}
}
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
result->waitForCompleted();
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
test(cond->value());
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
for(int i = 0; i < 10000; ++i)
{
+ if (value == 3000)
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
holdSerialized->ice_oneway()->setOneway(value + 1, value);
+ if (value == 3000)
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
++value;
if((i % 100) == 0)
{
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
holdSerialized->ice_oneway()->putOnHold(1);
}
}
-+ cout << __LINE__ << endl;
++ cout << __LINE__ << " (" << time(nullptr) << ")" << endl;
}
cout << "ok" << endl;