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/ConsumerExample.cpp

    r291 r293  
    6060    setState(MONITOR_OK);
    6161    LOG_INFO("started component '" << getName() << "'");
     62
     63    moveToThread(&mThread);
     64    mThread.start();
    6265}
    6366
     
    6972    setState(STOPPED);
    7073    LOG_INFO("stopped component '" << getName() << "'");
     74    QMetaObject::invokeMethod(&mThread, "quit");
    7175}
    7276
Note: See TracChangeset for help on using the changeset viewer.