diff options
author | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-03-17 13:55:49 +0000 |
---|---|---|
committer | vzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-03-17 13:55:49 +0000 |
commit | b5db93e26de4db7ed9dd083b058c9dfacde3a1e6 (patch) | |
tree | cb78f984dceae83473c8f7dc5ddc2c35a2e336c1 /TAO/tests/RTScheduling/Current/Thread_Task.cpp | |
parent | 3a7b3e4e0a4739c1326e04498fcc0c91faa885bf (diff) | |
download | ATCD-b5db93e26de4db7ed9dd083b058c9dfacde3a1e6.tar.gz |
Wed Mar 17 13:44:06 UTC 2010 Vladimir Zykov <vladimir.zykov@prismtech.com>
* tao/RTScheduling/Request_Interceptor.cpp:
* tao/RTScheduling/RTScheduler_Manager.inl:
* tao/RTScheduling/Current.cpp:
* tao/RTScheduling/Current.h:
* tao/RTScheduling/RTScheduler_Initializer.cpp:
* tao/RTScheduling/RTScheduler_Initializer.h:
Fixed a number of memory leaks.
* tests/RTScheduling/DT_Spawn/test.cpp:
* tests/RTScheduling/DT_Spawn/Thread_Action.h:
* tests/RTScheduling/Scheduler.cpp:
* tests/RTScheduling/Current/Thread_Task.cpp:
* tests/RTScheduling/Scheduling_Interceptor/test_server.cpp:
* tests/RTScheduling/VoidData/test_client.cpp:
* tests/RTScheduling/Thread_Cancel/Thread_Task.h:
* tests/RTScheduling/Thread_Cancel/test.cpp:
* tests/RTScheduling/Thread_Cancel/Thread_Task.cpp:
* examples/Kokyu_dsrt_schedulers/fp_example/client.cpp:
* examples/Kokyu_dsrt_schedulers/fp_example/server.cpp:
* examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp:
* examples/Kokyu_dsrt_schedulers/FP_Scheduler.cpp:
* examples/Kokyu_dsrt_schedulers/mif_example/client.cpp:
* examples/Kokyu_dsrt_schedulers/mif_example/server.cpp:
* examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp:
* examples/Kokyu_dsrt_schedulers/MIF_Scheduler.cpp:
* examples/Kokyu_dsrt_schedulers/muf_example/client.cpp:
* examples/Kokyu_dsrt_schedulers/muf_example/server.cpp:
* examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp:
* examples/Kokyu_dsrt_schedulers/MUF_Scheduler.cpp:
* examples/Kokyu_dsrt_schedulers/EDF_Scheduler.cpp:
* examples/RTScheduling/Thread_Task.h:
* examples/RTScheduling/POA_Holder.cpp:
* examples/RTScheduling/Fixed_Priority_Scheduler/FP_Scheduler.cpp:
* examples/RTScheduling/Fixed_Priority_Scheduler/FP_Scheduler.h:
* examples/RTScheduling/Fixed_Priority_Scheduler/test.cpp:
* examples/RTScheduling/Fixed_Priority_Scheduler/test.h:
* examples/RTScheduling/Fixed_Priority_Scheduler/FP_Task.cpp:
* examples/RTScheduling/Fixed_Priority_Scheduler/run_test.pl:
* examples/RTScheduling/Job_i.cpp:
* examples/RTScheduling/DT_Creator.cpp:
* examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.cpp:
* examples/RTScheduling/MIF_Scheduler/MIF_Scheduler.h:
* examples/RTScheduling/MIF_Scheduler/test.cpp:
* examples/RTScheduling/MIF_Scheduler/MIF_DT_Creator.cpp:
* examples/RTScheduling/MIF_Scheduler/test.h:
* examples/RTScheduling/MIF_Scheduler/run_test.pl:
* examples/RTScheduling/MIF_Scheduler/MIF_Task.cpp:
* examples/RTScheduling/Thread_Task.cpp:
* examples/RTScheduling/DT_Creator.h:
Fixed a lot of memory leaks which are actually similar from test
to test.
Diffstat (limited to 'TAO/tests/RTScheduling/Current/Thread_Task.cpp')
-rw-r--r-- | TAO/tests/RTScheduling/Current/Thread_Task.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tests/RTScheduling/Current/Thread_Task.cpp b/TAO/tests/RTScheduling/Current/Thread_Task.cpp index 246a0842a3a..03148fc9b2a 100644 --- a/TAO/tests/RTScheduling/Current/Thread_Task.cpp +++ b/TAO/tests/RTScheduling/Current/Thread_Task.cpp @@ -100,9 +100,10 @@ Thread_Task::svc (void) implicit_sched_param); size_t count = 0; + RTScheduling::Current::IdType_var id = this->current_->id (); ACE_OS::memcpy (&count, - this->current_->id ()->get_buffer (), - this->current_->id ()->length ()); + id->get_buffer (), + id->length ()); ACE_DEBUG ((LM_DEBUG, "Starting Distributable Thread %d with 3 nested scheduling segments....\n", @@ -131,7 +132,7 @@ Thread_Task::svc (void) for (unsigned int i = 0; i < segment_name_list->length (); i ++) { ACE_DEBUG ((LM_DEBUG, - "%s\n", + "%C\n", (*segment_name_list)[i].in ())); } } |