summaryrefslogtreecommitdiff
path: root/tests/Message_Queue_Test.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-31 05:37:54 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-31 05:37:54 +0000
commit38fb99568ac951c9aee70272e068ed9c4ffc2497 (patch)
treecfdea99e24a59d7ae5fbfaed10addef5b8ca9e70 /tests/Message_Queue_Test.cpp
parentc147b56e47c1aa8ed946aa4035456afc9440d12d (diff)
downloadATCD-38fb99568ac951c9aee70272e068ed9c4ffc2497.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Message_Queue_Test.cpp')
-rw-r--r--tests/Message_Queue_Test.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/Message_Queue_Test.cpp b/tests/Message_Queue_Test.cpp
index 3765e2020bd..d015be2581b 100644
--- a/tests/Message_Queue_Test.cpp
+++ b/tests/Message_Queue_Test.cpp
@@ -241,9 +241,6 @@ single_thread_performance_test (int queue_type = 0)
for (i = 0; i < messages; ++i)
{
- // There's got to be a better way to do this. <init> doesn't
- // delete any existing data block, so we do it explicitly.
- delete receive_block[i].data_block ();
receive_block[i].init (MAX_MESSAGE_SIZE);
// For VxWorks Message Queues, the receive block pointer must be
@@ -319,9 +316,6 @@ receiver (void *arg)
for (i = 0; i < messages; ++i)
{
- // There's got to be a better way to do this. <init> doesn't
- // delete any existing data block, so we do it explicitly.
- delete receive_block[i].data_block ();
receive_block[i].init (MAX_MESSAGE_SIZE);
// For VxWorks Message Queues, the receive block pointer must be