Threads
"Mahmoud Hammoud" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Dear all, I would like to create my own additional thread to do some things within rtspclnt.cpp. I tried to add a HXThread * data member m_pMyThread to the RTSPClientProtocol class and then at the point where I want to start the thread, I am calling HXThread::MakeThread(m_pMyThread) and then m_pMyThread->CreateThread(MyRoutine, this). This result in an HX_ASSERT error which eventually leads the client to crash. I guess I am missing something here (what please?). Should MyRoutine have a special structure? Can someone give me a brief step by step guide on how to create, start and manage a thread? The "Threading Model" document on the Helix Community web pages provides only an abstract overview, I would really appreciate your help. Best Regards, Mahmoud Hammoud _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev