src/app/dvb/streamer/dvbscheduler.cpp
bool Scheduler::isStarted(const IDevPtr& dev) const
{
    BOOST_ASSERT(dev);

    DVBThreadInfoList::const_iterator find =
        std::find_if(m_dvb_threadinfo.begin(),
                     m_dvb_threadinfo.end(),
                     boost::bind(FindThreadByDev(),_1, dev));
    return (find != m_dvb_threadinfo.end());
}
// Checks is any thread started for the current
// dev
// @note NOT THREAD SAFE CODE
Checks is any thread started for the current
dev
Checks is any thread started for the current dev
bool Scheduler::isStarted(const IDevPtr& dev) const
{
    BOOST_ASSERT(dev);
    DVBThreadInfoList::const_iterator find =
        std::find_if(m_dvb_threadinfo.begin(),
                     m_dvb_threadinfo.end(),
                     boost::bind(FindThreadByDev(),_1, dev));
    return (find != m_dvb_threadinfo.end());
}
bool Scheduler :: isStarted ( const IDevPtr & dev ) const { BOOST_ASSERT ( dev ) ; DVBThreadInfoList :: const_iterator find = std :: find_if ( m_dvb_threadinfo . begin ( ) , m_dvb_threadinfo . end ( ) , boost :: bind ( FindThreadByDev ( ) , _1 , dev ) ) ; return ( find != m_dvb_threadinfo . end ( ) ) ; }
Checks is any thread started for the current
dev
Checks is any thread started for the current dev