【Demo 0097】线程池--等待对象

等待对象用于在发送内核对象信号后或当指定的等待期间超时的时候调用回调函数。CreateThreadpoolWait 函数可用来创建等待对象。指向第一个参数中提供的回调函数的指针必须与 WaitCallback 函数的签名相匹配

CreateThreadPoolWait

SetThreadPoolWait

WaitForThreadPoolWaitCallBacks

CloseThreadPoolWait

posted @ 2012-06-12 23:00  zTercel  阅读(215)  评论(0编辑  收藏  举报