Debian Codegraph @

examples/Reactor/Proactor/README

raw
1
2
3 This README file lists all the example applications for the Proactor framework.
4
5 Test/Example Applications for Proactor:
6 =========================================
7
8 The following tests are available.
9
10 o $ACE_ROOT/tests/Aio_Platform_Test.cpp : Tests basic limits
11 pertaining to the POSIX features
12
13 o $ACE_ROOT/examples/Reactor/Proactor/test_aiocb.cpp :
14 This is a C++ program for testing the AIOCB (AIO Control
15 Blocks) based completion approach which uses <aio_suspend> for
16 completion querying.
17
18 o $ACE_ROOT/examples/Reactor/Proactor/test_aiosig.cpp : This is a
19 C++ program for testing the Signal based completion approach
20 that uses <sigtimedwait> for completion querying.
21
22 o $ACE_ROOT/examples/Reactor/Proactor/test_aiocb_ace.cpp: Portable
23 version of test_aiocb.cpp. (Same as test_aiocb.cpp, but uses
24 ACE_DEBUGs instead of printf's and ACE_Message_Blocks instead
25 of char*'s.
26
27 o $ACE_ROOT/examples/Reactor/Proactor/test_aiosig_ace.cpp: Portable
28 version of test_aiosig.cpp. (Same as test_aiosig.cpp, but uses
29 ACE_DEBUGs instead of printf's and ACE_Message_Blocks instead
30 of char*'s.
31
32 o test_proactor.cpp (with ACE_POSIX_AIOCB_Proactor) : Test for
33 ACE_Proactor which uses AIOCB (AIO Control Blocks) based
34 completions strategy Proactor. (#define
35 ACE_POSIX_AIOCB_PROACTOR in the config file, but this is the
36 default option)
37
38 o test_proactor.cpp (with ACE_POSIX_SIG_Proactor) : Test for
39 ACE_Proactor which uses real time signal based completion
40 strategy proactor. (#define ACE_POSIX_SIG_PROACTOR in the
41 config file)
42
43 o test_multiple_loops.cpp : This example application shows how
44 to write programs that combine the Proactor and Reactor event
45 loops. This is possible only on WIN32 platform.
46
47 o test_timeout.cpp : Multithreaded application testing the Timers
48 mechanism of the Proactor.
49
50 o test_timeout_st.cpp : Single-threaded version of test_timeout.cpp.
51
52 o post_completions.cpp : Tests the completion posting mechanism of
53 the Proactor.
54
55 o test_end_event_loop.cpp : Tests the event loop mechanism of the
56 Proactor.
57
58 o test_cancel.cpp : Tests <cancel> interface of the
59 Asynch_Operation class.
60
61 Behavior of POSIX AIO of various platforms:
62 ==========================================
63
64 Sun 5.6 : POSIX4 Real-Time signals implementation is broken in
65 this platform.
66 Only POSIX AIOCB Proactor works in this platform.
67 Therefore, it is not possible to use multiple threads
68 with in the framework.
69
70 Sun 5.7 : AIOCB and SIG Proactors work fine.
71
72 LynxOS 3.0.0 : <pthread_sigmask> is not available in this
73 platform. So, only AIOCB Proactor works here.
74
75