Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
If an embedded server is specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Jul 10, 2017
1 parent 02b0bab commit 498ae9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SimulationRuntime/c/simulation/solver/solver_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,10 @@ int solver_main(DATA* data, threadData_t *threadData, const char* init_initMetho
}
}
data->embeddedServerState = embedded_server_init(data, data->localData[0]->timeValue, solverInfo.currentStepSize, argv_0, omc_real_time_sync_update, port);
infoStreamPrint(LOG_STDOUT, 0, "The embedded server is initialized.");
/* If an embedded server is specified */
if (dllHandle != NULL) {
infoStreamPrint(LOG_STDOUT, 0, "The embedded server is initialized.");
}
wait_for_step(data->embeddedServerState);
#endif
if(0 == retVal) {
Expand Down

0 comments on commit 498ae9f

Please sign in to comment.