diff options
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.cpp | 22 |
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 6ba24af1d753..abe3c64508dd 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__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; while(value < 3000 && cond->value()) { + if (!value) -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << 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__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; ++value; if(value % 100 == 0) { -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; result->waitForSent(); } } -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; result->waitForCompleted(); -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; test(cond->value()); -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; for(int i = 0; i < 10000; ++i) { + if (value == 3000) -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; holdSerialized->ice_oneway()->setOneway(value + 1, value); + if (value == 3000) -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; ++value; if((i % 100) == 0) { -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; holdSerialized->ice_oneway()->putOnHold(1); } } -+ cout << __LINE__ << " (" << time(nullptr) << ")" << endl; ++ cout << __LINE__ << " (" << time(0) << ")" << endl; } cout << "ok" << endl; |