![]() |
License / Documentation home / Help and feedback | ![]() |
This example can be found in the distribution in contrib/MITRE/examples/simple_mainloop.
simple_mainloop_elr.c: uses this crude mainloop to run a Communicator-compliant server.
mainloop_double.c: the standard double server from the double example, using simple_mainloop_elr.c.
basic_double.c: a double server with an explicit main loop (essentially a copy of the one in the GalaxyCommunicator core library), to contrast with the other servers in this example.
UnixIn addition, on Unix, we generate the following scripts.
% cd <root_of_GC>
% ./contrib/MITRE/tools/bin/process_monitor contrib/MITRE/examples/simple_mainloop/simple_mainloop.config
Windows
C:\> set GC_HOME=<root_of_GC>
C:\> python %GC_HOME%\contrib\MITRE\tools\src\process_monitor\process_monitor.py %GC_HOME%\contrib\MITRE\examples\simple_mainloop\simple_mainloop.config
mainloop_audio.csh: runs the mainloop_testaudio_send and mainloop_testaudio_receive servers and the Hub, using the audio program file from the audio example.
basic_double.csh: runs the basic double server and the Hub, using the double program file from the double example.
![]() |
License / Documentation home / Help and feedback | ![]() |