diff options
Diffstat (limited to 'Kokyu/tests/FIFO/test.cpp')
-rw-r--r-- | Kokyu/tests/FIFO/test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Kokyu/tests/FIFO/test.cpp b/Kokyu/tests/FIFO/test.cpp index c61f14fdcfd..fab7f34698c 100644 --- a/Kokyu/tests/FIFO/test.cpp +++ b/Kokyu/tests/FIFO/test.cpp @@ -18,14 +18,9 @@ public: :Kokyu::Dispatch_Command(1),id_(i) { } - int execute (); -private: - int id_; -}; - -int MyCommand::execute() -{ + int execute() + { ACE_hthread_t thr_handle; ACE_Thread::self (thr_handle); int prio; @@ -49,7 +44,12 @@ int MyCommand::execute() ACE_TEXT (("(%t|prio=%d) | command %d executed\n")), prio, id_)); return 0; -} + } + +private: + int id_; +}; + int main (int argc, char** argv) { |