Changeset 279 in pacpusframework for trunk


Ignore:
Timestamp:
Mar 20, 2014, 11:58:55 AM (11 years ago)
Author:
Marek Kurdej
Message:

[ComponentBase] MAJOR: Using: boost::thread to start each component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusLib/ComponentBase.cpp

    r278 r279  
    1313#include <boost/program_options/parsers.hpp>
    1414#include <boost/program_options/variables_map.hpp>
     15#include <boost/thread/thread.hpp>
    1516#include <ostream>
    1617#include <string>
     
    134135
    135136    setActive(true);
    136     startActivity();
    137    
     137    boost::thread worker(&ComponentBase::startActivity, this);
     138    //startActivity();
    138139    return true;
    139140}
Note: See TracChangeset for help on using the changeset viewer.