Пример #1
0
 void startProducerThread(IThreaded & main)
 {
     CThreaded * thread = new CThreaded("ReadAheadThread", &main);
     threads.append(*thread);
     thread->start();
 }
Пример #2
0
 virtual void startStrand(IStrandThreaded & strand)
 {
     CThreaded * thread = new CThreaded("Strand", &strand);
     threads.append(*thread);
     thread->start();
 }