diff options
Diffstat (limited to 'examples/Reactor/Misc/notification.cpp')
-rw-r--r-- | examples/Reactor/Misc/notification.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/Reactor/Misc/notification.cpp b/examples/Reactor/Misc/notification.cpp index 69705eee06a..e276791fc47 100644 --- a/examples/Reactor/Misc/notification.cpp +++ b/examples/Reactor/Misc/notification.cpp @@ -29,8 +29,8 @@ class Thread_Handler : public ACE_Event_Handler // thread exits it notifies the ACE_Reactor in the main thread // using the ACE_Reactor's notification mechanism. public: - Thread_Handler (int delay, - int interval, + Thread_Handler (long delay, + long interval, size_t n_threads, size_t max_iterations); // Constructor. @@ -109,8 +109,9 @@ Thread_Handler::~Thread_Handler (void) ACE_Reactor::instance ()->cancel_timer (this); } -Thread_Handler::Thread_Handler (int delay, - int interval, +Thread_Handler::Thread_Handler ( + long delay, + long interval, size_t n_threads, size_t max_iterations) : iterations_ (max_iterations) @@ -290,8 +291,7 @@ Thread_Handler::handle_signal (int signum, siginfo_t *, ucontext_t *) } int -Thread_Handler::handle_timeout (const ACE_Time_Value &time, - const void *) +Thread_Handler::handle_timeout (const ACE_Time_Value &time, const void *) { ACE_DEBUG ((LM_DEBUG, "(%t) received timeout at (%u, %u), iterations = %d\n", |