diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-30 22:43:09 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-30 22:43:09 +0000 |
commit | d8431b304547aef69e615e46ec175b7de9596f4e (patch) | |
tree | b2580ef33aa1b028f341acaf8fb91beb07c2ef72 /examples | |
parent | a05fc0e60fac1ebbe2a791aabeb63d131e62735f (diff) | |
download | ATCD-d8431b304547aef69e615e46ec175b7de9596f4e.tar.gz |
Added 'main' function for platforms where only AIOCB_Proactor is
enabled so that the test prints out a message.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Reactor/Proactor/test_timeout.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/examples/Reactor/Proactor/test_timeout.cpp b/examples/Reactor/Proactor/test_timeout.cpp index 10318ba1273..18884b294e0 100644 --- a/examples/Reactor/Proactor/test_timeout.cpp +++ b/examples/Reactor/Proactor/test_timeout.cpp @@ -119,4 +119,15 @@ template class ACE_Atomic_Op<ACE_Thread_Mutex, int>; #pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, int> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* ACE_WIN32 && !ACE_HAS_WINCE || ACE_HAS_AIO_CALLS && !ACE_POSIX_AIOCB_PROACTOR*/ +#else /* ACE_WIN32 && !ACE_HAS_WINCE || ACE_HAS_AIO_CALLS && !ACE_POSIX_AIOCB_PROACTOR*/ + +int +main (int, char *[]) +{ + ACE_DEBUG ((LM_DEBUG, + "This example is multithreaded version of test_timeout_st.cpp\n" + "This doesnt work on this platform !!!\n")); + return 1; +} + +#endif /* ACE_WIN32 && !ACE_HAS_WINCE || ACE_HAS_AIO_CALLS && !ACE_POSIX_AIOCB_PROACTOR*/ |