Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  07 May 2009, Konstantin Olchanski, Info, mhttpd now uses mtransition 
    Reply  21 May 2009, Konstantin Olchanski, Info, mhttpd now uses mtransition 
       Reply  02 Jun 2009, Konstantin Olchanski, Info, mhttpd now uses mtransition 
          Reply  26 Jun 2009, Konstantin Olchanski, Info, mhttpd now uses mtransition 
Message ID: 603     Entry time: 26 Jun 2009     In reply to: 584
Author: Konstantin Olchanski 
Topic: Info 
Subject: mhttpd now uses mtransition 
> > > mhttpd function for starting and stopping runs now uses cm_transition(DETACH) which spawns an 
> > > external helper program called mtransition to handle the transition sequencing.

Problem reported by Stefan - user presses the "stop the run" button, and the web page comes back saying "running" as if the button did not work. This is 
confusing. It happens because mtransition did not start yet - we have a race condition against it.

To improve this situation, mhttpd now remembers that a start/stop button was pushed and displays a message "Run start/stop requested" until it detects 
that mtransition started and set "runinfo/transition in progress" (or the run state changed).

svn rev 4520
K.O.
ELOG V3.1.4-2e1708b5