From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

求助啊! 多线程

多线程的执行步骤是怎样的? 

在调用函数CmtScheduleThreadPoolFunction之后进入到辅助线程中,是不是当执行到return后就算辅助线程执行完了,那么return之后又返回到什么位置了?

 

我的程序是按照以下顺序执行的

CmtScheduleThreadPoolFunction;主线程;CmtWaitForThreadPoolFunctionCompletion ;   CmtReleaseThreadPoolFunctionID ;

 

谢谢

0 Kudos
Message 1 of 4
(2,887 Views)

Sorry,

 

but my computer does not show these special characters... so we are left with a riddle:

 

........ CmtScheduleThreadPoolFunction ..... return ......   return.... ?

 

Seems too difficult to solve: You should either use a regular font or post your question in the dedicated forum here

 

 

 

0 Kudos
Message 2 of 4
(2,882 Views)

I think so,but i don't know the return point.because the two threads  run in parallel.

 

maybe,you can show your code.

 

 

0 Kudos
Message 3 of 4
(2,863 Views)

has been posted and answered here

0 Kudos
Message 4 of 4
(2,845 Views)