11-02-2011 03:59 AM
多线程的执行步骤是怎样的?
在调用函数CmtScheduleThreadPoolFunction之后进入到辅助线程中,是不是当执行到return后就算辅助线程执行完了,那么return之后又返回到什么位置了?
我的程序是按照以下顺序执行的
CmtScheduleThreadPoolFunction;主线程;CmtWaitForThreadPoolFunctionCompletion ; CmtReleaseThreadPoolFunctionID ;
谢谢
11-02-2011 04:32 AM
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
11-02-2011 07:19 PM
I think so,but i don't know the return point.because the two threads run in parallel.
maybe,you can show your code.
11-04-2011 11:50 AM
has been posted and answered here