diff options
Diffstat (limited to 'tests/Reactor_Notify_Test.cpp')
-rw-r--r-- | tests/Reactor_Notify_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Reactor_Notify_Test.cpp b/tests/Reactor_Notify_Test.cpp index fbba1dd5e3d..f7bd0c3671e 100644 --- a/tests/Reactor_Notify_Test.cpp +++ b/tests/Reactor_Notify_Test.cpp @@ -397,7 +397,7 @@ run_notify_purge_test (void) r->notify (&n1, ACE_Event_Handler::READ_MASK); r->notify (&n1, ACE_Event_Handler::READ_MASK); r->notify (&n1, ACE_Event_Handler::WRITE_MASK); - status = r->purge_pending_notifications + status = r->purge_pending_notifications (&n1, ACE_Event_Handler::READ_MASK | ACE_Event_Handler::WRITE_MASK); if (status != 3) ACE_ERROR ((LM_ERROR, @@ -407,7 +407,7 @@ run_notify_purge_test (void) // Notify READ on 2 handlers, and purge READ|WRITE on all handlers. Should purge 2 r->notify (&n1, ACE_Event_Handler::READ_MASK); r->notify (n2, ACE_Event_Handler::READ_MASK); - status = r->purge_pending_notifications + status = r->purge_pending_notifications (0, ACE_Event_Handler::READ_MASK | ACE_Event_Handler::WRITE_MASK); if (status != 2) ACE_ERROR ((LM_ERROR, @@ -417,7 +417,7 @@ run_notify_purge_test (void) // Notify EXCEPT and WRITE, purge READ. Should not purge r->notify (&n1); // the mask is EXCEPT_MASK r->notify (&n1, ACE_Event_Handler::WRITE_MASK); - status = r->purge_pending_notifications + status = r->purge_pending_notifications (&n1, ACE_Event_Handler::READ_MASK); if (status != 0) ACE_ERROR ((LM_ERROR, @@ -435,7 +435,7 @@ run_notify_purge_test (void) int -ACE_TMAIN (int, ACE_TCHAR *[]) +run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("Reactor_Notify_Test")); |