Simple PingPong Sample

Description

This program spawns off two threads. The threads will signal each other back and forth for a set amount of time. After the time has expired the main thread will signal the threads to complete and end the program.

Source Files

File Description
PingPong.cpp The main source file that contains the Ping and Pong thread functions.
PingPong.h Header file containing declarations of thread functions.

Setting up the PingPong test

Build PingPong.rtss or PingPong.exe

Running PingPong

Run with no arguments

APIs Referenced

RTAPI