mirror of
https://github.com/nasa/trick.git
synced 2025-06-14 13:18:21 +00:00
Refactor and test Variable Server.
- Split VariableServerThread into VariableServerSession and VariableReference classes - Use C++ streams for data handling - Unit tests
This commit is contained in:
@ -4,11 +4,9 @@
|
||||
|
||||
int Trick::VariableServer::init() {
|
||||
|
||||
int ret ;
|
||||
|
||||
/* start up a thread for the input processor variable server */
|
||||
if ( enabled ) {
|
||||
ret = listen_thread.check_and_move_listen_device() ;
|
||||
int ret = listen_thread.check_and_move_listen_device() ;
|
||||
if ( ret != 0 ) {
|
||||
return ret ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user