网站首页  词典首页

请输入您要查询的函数:

 

术语 closethreadpool
释义 CloseThreadpool
语法:
C++
VOID WINAPI CloseThreadpool(
__inout PTP_POOL ptpp
);
CloseThreadpool功能
关闭指定的线程池。
参数
ptpp [ in , out ]
阿TP_POOL结构定义线程池。该CreateThreadpool函数返回这个结构。
返回值
这个函数没有返回值。
备注
线程池的是立即关闭,如果没有出色的工作,的I / O,定时器,或等待绑定到池的对象,否则,线程池被释放后,异步优秀对象被释放。
要编译的应用程序使用此函数,定义为0x0600或更高_WIN32_WINNT。
实例
有关示例,请参阅使用线程池功能。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateThreadpool
SetThreadpoolThreadMaximum
SetThreadpoolThreadMinimum
线程池
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==CloseThreadpool Function
Closes the specified thread pool.
Syntax
C++
VOID WINAPI CloseThreadpool(
__inout PTP_POOL ptpp
);
Parameters
ptpp [in, out]
A TP_POOL structure that defines the thread pool. The CreateThreadpool function returns this structure.
Return Value
This function does not return a value.
Remarks
The thread pool is closed immediately if there are no outstanding work , I/O , timer , or wait objects that are bound to the pool; otherwise, the thread pool is released asynchronously after the outstanding objects are freed.
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or higher.
Examples
For an example, see Using the Thread Pool Functions .
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateThreadpool
SetThreadpoolThreadMaximum
SetThreadpoolThreadMinimum
Thread Pools
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms682030(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:32:03