Changeset 293 in pacpusframework for trunk/examples/ProducerConsumerExample/ConsumerExample.cpp
- Timestamp:
- Mar 27, 2014, 3:50:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProducerConsumerExample/ConsumerExample.cpp
r291 r293 60 60 setState(MONITOR_OK); 61 61 LOG_INFO("started component '" << getName() << "'"); 62 63 moveToThread(&mThread); 64 mThread.start(); 62 65 } 63 66 … … 69 72 setState(STOPPED); 70 73 LOG_INFO("stopped component '" << getName() << "'"); 74 QMetaObject::invokeMethod(&mThread, "quit"); 71 75 } 72 76
Note:
See TracChangeset
for help on using the changeset viewer.