void CExperSystemnewView::OnStart() 
{
// TODO: Add your control notification handler code here
SetTimer(1,10000,0);
SetTimer(2,7200000,0);
}void CExperSystemnewView::OnStop() 
{
// TODO: Add your control notification handler code here
KillTimer(1);
KillTimer(2);
}void CExperSystemnewView::OnTimer(UINT nIDEvent) 
{
// TODO: Add your message handler code here and/or call defaultswitch (nIDEvent)
{
case 1:
readdata();
 break;case 2:
    NeuralNet();
 break;default:
break;
}
CFormView::OnTimer(nIDEvent);
}
我定义了两个计时器,第一个为从一个数据库中读取数据,第二个计时器设为两个小时,用来调用Matlab语言训练BP神经网络。在运行中发现因第二个计时器程序运行时,耗时及内存很大,致使第一个程序没有按原来时间间隔进行,而是等到第二个程序运行完成才继续运转,如果用多线程该如何写程序??