qpcpp/doxygen/snippets/qf_xctor.cpp

10 lines
342 B
C++
Raw Normal View History

2017-08-21 18:21:15 -04:00
namespace DPP {
// local extended-thread objects .............................................
static void Thread1_run(QP::QXThread * const me); // run routine for Thread1
static QP::QXThread l_thread1(&Thread1_run, 0U); // Thread1 instance
2017-08-29 16:01:46 -04:00
QP::QXThread * const XT_Thread1 = &l_thread1; // global pointer to the thread
} // namespace DPP