diff options
author | Steve Huston <shuston@riverace.com> | 2006-07-17 10:44:01 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2006-07-17 10:44:01 +0000 |
commit | 167ac17b06963da8dbf606df334837fd16358013 (patch) | |
tree | d3c7b37edb8edeaecc9e1ecd770b041a2ee127ac /tests | |
parent | d99bb0ad33a650361c2c419d763f848b6594c30c (diff) | |
download | ATCD-167ac17b06963da8dbf606df334837fd16358013.tar.gz |
ChangeLogTag:Mon Jul 17 10:41:14 UTC 2006 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Message_Queue_Test_Ex.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/Message_Queue_Test_Ex.cpp b/tests/Message_Queue_Test_Ex.cpp index e30af132de3..d699749432e 100644 --- a/tests/Message_Queue_Test_Ex.cpp +++ b/tests/Message_Queue_Test_Ex.cpp @@ -537,25 +537,6 @@ MQ_Ex_N_Tester::receiver (void *args) User_Class *[max_messages], (ACE_THR_FUNC_RETURN) -1); -#if defined (VXWORKS) - // Set up blocks to receive the messages. Allocate these off the - // heap in case messages is large relative to the amount of stack - // space available. - User_Class *receive_block; - ACE_NEW_RETURN (receive_block, - User_Class[max_messages], - (ACE_THR_FUNC_RETURN) -1); - - for (i = 0; i < max_messages; ++i) - { - receive_block[i].init (MAX_MESSAGE_SIZE); - - // For VxWorks Message Queues, the receive block pointer must be - // assigned. It will be used by <dequeue_head>. - receive_block_p[i] = &receive_block[i]; - } -#endif /* VXWORKS */ - int i; tester_barrier.wait (); for (i = 0; i < max_messages; ++i) @@ -571,9 +552,6 @@ MQ_Ex_N_Tester::receiver (void *args) timer->stop (); delete [] receive_block_p; -#if defined (VXWORKS) - delete [] receive_block; -#endif /* VXWORKS */ return 0; } |