Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  07 May 2009, Konstantin Olchanski, Info, midas misc timeout fixes 
    Reply  15 May 2009, Konstantin Olchanski, Info, midas misc timeout fixes 
    Reply  15 May 2009, Konstantin Olchanski, Info, midas misc timeout fixes 
Message ID: 569     Entry time: 07 May 2009     Reply to this: 577   578
Author: Konstantin Olchanski 
Topic: Info 
Subject: midas misc timeout fixes 
(catching up on recent changes from t2k and pienu)

Various timeout problems fixed:
- cm_transition() timeouts now settable from ODB (/experiment/transition timeout, transition connect 
timeout). Rev 4479
- rpc_client_call() timeout did not work because of bad select() and alarm() interaction. Rev 4479
- implement rpc connect timeout (was hardwired 10 sec) via rpc_{set,get}_option(-2, RPC_OTIMEOUT). Rev 
4478
- ss_mutex_wait_for() timeout only worked if 1Hz alarm() interrupts are present. Now I use semtimedop() 
and timeout should always work. Rev 4472

K.O.
ELOG V3.1.4-2e1708b5