网站首页  计算机词典

请输入您要查询的字词:

 

字词 getcurrentthreadid
释义 GetCurrentThreadId
语法:
C++
DWORD WINAPI GetCurrentThreadId(void);
GetCurrentThreadId函数
检索调用线程的线程标识符。
参数
这个函数没有参数。
返回值
返回值是在调用线程的线程标识符。
备注
直到线程终止,线程标识符唯一标识整个系统中线程。
实例
有关示例,请参阅使用线程本地存储。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetCurrentThread
OpenThread
进程和线程函数
主题
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetCurrentThreadId Function
Retrieves the thread identifier of the calling thread.
Syntax
C++
DWORD WINAPI GetCurrentThreadId(void);
Parameters
This function has no parameters.
Return Value
The return value is the thread identifier of the calling thread.
Remarks
Until the thread terminates, the thread identifier uniquely identifies the thread throughout the system.
Examples
For an example, see Using Thread Local Storage .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
GetCurrentThread
OpenThread
Process and Thread Functions
Threads
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683183(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:32:31