|
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
PingPong.cpp
– the main source file that contains the Ping and Pong thread functionsPingPong.h
– contains declarations of thread functions and header filesSetting up the PingPong test
Build PingPong.rtss
or PingPong.exe
Running PingPong
Run with no arguments
APIs Referenced
RTAPI |