Changeset 279 in pacpusframework


Ignore:
Timestamp:
03/20/14 11:58:55 (10 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.