LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

求助啊! 多线程

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

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

 

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

CmtScheduleThreadPoolFunction;主线程;CmtWaitForThreadPoolFunctionCompletion ;   CmtReleaseThreadPoolFunctionID ;

 

谢谢

0 Kudos
Message 1 of 4
(3,085 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
(3,080 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
(3,061 Views)

has been posted and answered here

0 Kudos
Message 4 of 4
(3,043 Views)