integrationtest.unixlistener.main

Test suite for the unix socket listener.

Members

Functions

client_process
void client_process(cstring socket_path)

Body of a client process. Connects to the unix domain sockets and sends some commands, some of which are interactive.

main
int main()
Undocumented in source. Be warned that the author may not have intended to support it.
waitForSemaphore
void waitForSemaphore()

Helper function to wait for the start_semaphore.

Variables

start_semaphore
sem_t* start_semaphore;

Semaphore to synchronize child and parent process. The child process should connect to the unix domain socket, only after the parent one binded to it.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).