|

楼主 |
发表于 2009-3-6 18:32:40
|
显示全部楼层
版主,不是源码的问题哈 源码还没写出来呢 我不知道怎么设计了 呵呵 队列的回调函数就是你通过 int CmtInstallTSQCallback (int queueHandle, unsigned int event, int eventThresholdValue, TSQCallbackPtr callbackFunction, void *callbackData, unsigned int callbackThreadID, int *callbackID)指定的函数(callbackFunction),称为函数一吧。而创建线程时用的是这个函数:int CmtScheduleThreadPoolFunction (int poolHandle, ThreadFunctionPtr threadFunction, void *threadFunctionData, int *threadFunctionID)他指定的回调函数是 threadFunction,而上述两个函数的原型是不同的。我就想把函数 一放到我创建的子线程中来执行,该怎么办?版主 |
|