3 Presently, this directory contains only one example application for
4 SPIPEs. The test source code is contained in SPIPE-acceptor.h and
7 The SPIPE-acceptor example illustrates how named pipes are used on NT.
8 Once the server establishes a connection to a single client, it spawns
9 a thread pool to handle incoming requests via the proactor event loop.
10 That is, a separate thread from the pool is used to process each
11 message sent by a client. The size of the thread pool can be
12 specified by command-line arguments. This example leverages the
13 queueing performed by the NT kernel to trivially implement a thread
16 test_spipe_acceptor has the following command-line arguments:
18 test_spipe_acceptor -t <threads>
20 <threads> specifies the size of the thread-pool running in the
23 Here's how to run the tests:
25 % test_spipe_acceptor -t 1000000
26 starting up daemon test_sock_acceptor
30 % test_spipe_connector
31 starting up daemon test_sock_connector
35 please enter input..: hello
37 There are a number of other options that you can provide. Please see
38 the source code for details.