Changeset 16581 for trunk/FACT++/src


Ignore:
Timestamp:
06/02/13 15:48:49 (11 years ago)
Author:
tbretz
Message:
Moved also the output to the console to the Queue... let's see if that improves something.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/MessageDim.cc

    r16479 r16581  
    5757    // to have them available already during startup
    5858    Message("MessageDimTX shutting down ["+to_string(fMsgQueue.size())+"]");
     59    fMsgQueue.wait();
    5960}
    6061
    6162void MessageDimTX::UpdateService(const tuple<Time,string,int> &data)
    6263{
     64    MessageImp::Write(get<0>(data), get<1>(data), get<2>(data));
     65
    6366    setData(get<1>(data));
    6467    setQuality(get<2>(data));
     
    8083int MessageDimTX::Write(const Time &t, const string &txt, int qos)
    8184{
    82     MessageImp::Write(t, txt, qos);
    8385    fMsgQueue.emplace(t, txt, qos);
    84 
    8586    return 1;
    8687}
Note: See TracChangeset for help on using the changeset viewer.