|
From: | David Come |
Subject: | Re: [certi-dev] TAG and transient message |
Date: | Tue, 30 Jun 2015 12:05:15 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
Hello. Please find attached two quick and dirty C++ applications that reproduce the same behaviour. They are a direct rip off of the Interactive_federate from the application folder. The only important parts are the PubSub, send methods and the mains' loops. I put a schema describing the simulation architecture. Bulding and using : unzip source.zip mkdir bin cd bin cmake ../src make ./A_loop Federate_Name Absolute_Path_To_Fed_file ./B_loop Federate_Name Absolute_Path_To_Fed_file I created a poor man's synchronization using getchar, so you need to press enter in both federates after they have been started. That simulation exhibits different behaviors if it is linked and run with CERTI using NULL Prime messages or not. That was the case for the first logs I send. A single process with 2 threads, each being a Federate. This lead to inconsistent (and unusable) log files. That is why I backed to using two different processes. David. |
source.zip
Description: Zip archive
sumup.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |