Ignore:
Timestamp:
Mar 27, 2014, 3:50:21 PM (11 years ago)
Author:
Marek Kurdej
Message:

REVERTED: Reworked threading in InputInterfaceBase, each slot has its own processing thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ProducerConsumerExample/ProducerExample.cpp

    r291 r293  
    1515
    1616PACPUS_REGISTER_COMPONENT(ProducerExample);
    17 
    18 static const char * outputFileName = "producer.txt";
    1917
    2018ProducerExample::ProducerExample(QString name)
     
    6260    using boost::ref;
    6361
    64     std::fstream mFile(outputFileName, std::ios_base::out | std::ios_base::app);
     62    std::fstream mFile(mOutputFileName, std::ios_base::out | std::ios_base::app);
    6563    if (!mFile.is_open()) {
    66         LOG_ERROR("file '" << outputFileName << "' cannot be opened");
     64        LOG_ERROR("file '" << mOutputFileName << "' cannot be opened");
    6765        return;
    6866    }
Note: See TracChangeset for help on using the changeset viewer.