summaryrefslogtreecommitdiff
path: root/examples/Threads/test_task_three.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-11-28 07:14:18 +0000
commitad66c757e62495734e28c3f3bbc33a9fd29217d3 (patch)
treeb679cecc050588c642722e7dffd780ed81a442eb /examples/Threads/test_task_three.cpp
parentd395a38d42932c86ebef82468f58c03b3529363e (diff)
downloadATCD-ad66c757e62495734e28c3f3bbc33a9fd29217d3.tar.gz
yow
Diffstat (limited to 'examples/Threads/test_task_three.cpp')
-rw-r--r--examples/Threads/test_task_three.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/test_task_three.cpp b/examples/Threads/test_task_three.cpp
index 78e9a006321..aedea6fc158 100644
--- a/examples/Threads/test_task_three.cpp
+++ b/examples/Threads/test_task_three.cpp
@@ -103,7 +103,7 @@ Test_Task::svc (void)
for (int index = 0; index < NUM_INVOCATIONS; index++)
{
- ACE_OS::thr_extern "C" yield ();
+ ACE_OS::thr_yield ();
if (r_->notify (this, ACE_Event_Handler::READ_MASK))
{
@@ -181,7 +181,7 @@ main (int argc, char **argv)
}
// Register a signal handler.
- ACE_Sig_Action sa (ACE_Sig_Handler_Ex (handler), SIGINT);
+ ACE_Sig_Action sa (ACE_SignalHandler (handler), SIGINT);
ACE_Reactor *reactor1 = ACE_Service_Config::reactor ();
ACE_Reactor *reactor2 = new ACE_Reactor ();