src/app/dvb/streamer/dvbscheduler.cpp
void Scheduler::createStreamThread(const IDevPtr& dev)
{
    BOOST_ASSERT(dev);
    Locker lock(&m_dvb_lock);
    if (!isStarted(dev))
    {
        IThreadInfoPtr threadinfo =
            getThreadFactory()->createStreamThread(dev);
        BOOST_ASSERT(threadinfo);
        startThread(threadinfo->getThread());
        m_dvb_threadinfo.push_back(threadinfo);
    }
}
// Creates a stream thread pointer
// The thread will be created and
// started if it was not created before
Creates a stream thread pointer
The thread will be created and
started if it was not created before
Creates a stream thread pointer The thread will be created and started if it was not created before
void Scheduler::createStreamThread(const IDevPtr& dev)
{
    BOOST_ASSERT(dev);
    Locker lock(&m_dvb_lock);
    if (!isStarted(dev))
    {
        IThreadInfoPtr threadinfo =
            getThreadFactory()->createStreamThread(dev);
        BOOST_ASSERT(threadinfo);
        startThread(threadinfo->getThread());
        m_dvb_threadinfo.push_back(threadinfo);
    }
}
void Scheduler :: createStreamThread ( const IDevPtr & dev ) { BOOST_ASSERT ( dev ) ; Locker lock ( & m_dvb_lock ) ; if ( ! isStarted ( dev ) ) { IThreadInfoPtr threadinfo = getThreadFactory ( ) -> createStreamThread ( dev ) ; BOOST_ASSERT ( threadinfo ) ; startThread ( threadinfo -> getThread ( ) ) ; m_dvb_threadinfo . push_back ( threadinfo ) ; } }
Creates a stream thread pointer
The thread will be created and
started if it was not created before
Creates a stream thread pointer The thread will be created and started if it was not created before