术语 | deletefiber |
释义 | DeleteFiber 语法: C++ VOID WINAPI DeleteFiber( __in LPVOID lpFiber ); DeleteFiber功能 删除一个现有的光纤。 参数 lpFiber [in] 纤维的地址被删除。 返回值 这个函数没有返回值。 备注 该DeleteFiber函数删除与纤维相关的所有数据。这些数据包括堆栈,一个寄存器集和光纤数据。 如果当前正在运行的要求DeleteFiber纤维,它的线程调用ExitThread并终止。但是,如果当前正在运行的纤维是由另一纤维删除,删除线程运行纤维很可能异常终止,因为纤维堆栈已经获释。 要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0400或更高版本。有关详细信息,请参阅使用Windows头。 实例 有关示例,请参阅使用纤维。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 ExitThread 纤维 进程和线程函数 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==DeleteFiber Function Deletes an existing fiber. Syntax C++ VOID WINAPI DeleteFiber( __in LPVOID lpFiber ); Parameters lpFiber [in] The address of the fiber to be deleted. Return Value This function does not return a value. Remarks The DeleteFiber function deletes all data associated with the fiber. This data includes the stack, a subset of the registers, and the fiber data. If the currently running fiber calls DeleteFiber, its thread calls ExitThread and terminates. However, if a currently running fiber is deleted by another fiber, the thread running the deleted fiber is likely to terminate abnormally because the fiber stack has been freed. To compile an application that uses this function, define _WIN32_WINNT as 0x0400 or later. For more information, see Using the Windows Headers . Examples For an example, see Using Fibers . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also ExitThread Fibers Process and Thread Functions Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms682556(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。