Commit e386c880 authored by claes's avatar claes

*** empty log message ***

parent 1f95f56a
......@@ -63,4 +63,5 @@
080114 cs doc New chapter Class Editor in Designer's Guide.
080118 cs trace Object description viewed as tooltip in trace. Also $PlcMain and $PlcFo translated and viewed in tooltip.
080121 cs pwrb MoreText added to DSup, ASup and CycleSup, and to mh protocol.
080122 cs pwrb Attributes PresMinLimit and PresMaxLimit added to Ii and Io.
\ No newline at end of file
080122 cs pwrb Attributes PresMinLimit and PresMaxLimit added to Ii and Io.
080206 cs statussrv Loopback address used for local node.
\ No newline at end of file
/*
* Proview $Id: rt_statussrv.cpp,v 1.6 2007-06-29 12:50:44 claes Exp $
* Proview $Id: rt_statussrv.cpp,v 1.7 2008-02-22 09:17:49 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -61,6 +61,7 @@ class status_server {
static status_server *statussrv;
static void *statussrv_cyclic( void *arg);
static struct soap *statussrv_soap = 0;
int main( int argc, char *argv[])
......@@ -184,6 +185,8 @@ int main( int argc, char *argv[])
errh_SetStatus( PWR__SRUN);
soap_init( &soap);
statussrv_soap = &soap;
for ( int i = 0; i < restarts + 1; i++) {
m = soap_bind( &soap, NULL, 18084, 100);
if ( m < 0) {
......@@ -248,6 +251,8 @@ static void *statussrv_cyclic( void *arg)
} else if (new_event.b.swapDone) {
errh_SetStatus( PWR__SRUN);
} else if (new_event.b.terminate) {
// if ( statussrv_soap)
// soap_done( statussrv_soap);
exit(0);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment