$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Hill (eric_at_[hidden])
Date: 2006-11-21 16:47:06
> void SomeClass::startPolling()  {
>    m_pCtrl = new Controller;
>    boost::function<void (Controller&)> funcPoll;
>    funcPoll = &_pollMode;
>    m_thr = new boost:thread(boost::bind( funcPoll,
> *m_pCtrl));
> // never get past this line (unless copy ctor
> modified)
> }
// snip
> Any help/explanation would be appreciated.
> Rob
Try this instead:
void SomeClass::startPolling() {
    m_pCtrl = new Controller();
    m_thr = new boost::thread(boost::bind(&Controller.ThreadFunc, m_pCtrl));
    std::cout << "Got here" << std::endl;
}
Eric