⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject_21431.htm

📁 一些关于vc的问答
💻 HTM
字号:
<p>
序号:21431 发表者:口木子 发表日期:2002-11-17 13:43:19
<br>主题:懒汉问您:与线程有关的API有哪几个?
<br>内容:懒汉问您:与线程有关的API有哪几个?
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
回复者:无非 回复日期:2002-11-17 13:55:20
<br>内容:CreateThread()<BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:口木子 回复日期:2002-11-17 14:01:12
<br>内容:还有呢?
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:无非 回复日期:2002-11-17 14:15:01
<br>内容:SetThreadPriority() ,设置线程优先级<BR>再可能就是关于线程同步的了。<BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:John Lan 回复日期:2002-11-17 15:08:35
<br>内容:Function Description <BR>AttachThreadInput Attaches the input processing mechanism of one thread to that of another thread. <BR>CreateRemoteThread Creates a thread that runs in the virtual address space of another process. <BR>CreateThread Creates a thread to execute within the virtual address space of the calling process. <BR>ExitThread Ends a thread. <BR>GetCurrentThread Retrieves a pseudo handle for the current thread. <BR>GetCurrentThreadId Retrieves the thread identifier of the calling thread. <BR>GetExitCodeThread Retrieves the termination status of the specified thread. <BR>GetThreadPriority Retrieves the priority value for the specified thread. <BR>GetThreadPriorityBoost Retrieves the priority boost control state of the specified thread. <BR>GetThreadTimes Retrieves timing information for the specified thread. <BR>OpenThread Opens an existing thread object. <BR>ResumeThread Decrements a thread's suspend count. <BR>SetThreadAffinityMask Sets a processor affinity mask for the specified thread. <BR>SetThreadIdealProcessor Specifies a preferred processor for a thread. <BR>SetThreadPriority Sets the priority value for the specified thread. <BR>SetThreadPriorityBoost Disables the ability of the system to temporarily boost the priority of a thread. <BR>Sleep Suspends the execution of the current thread for a specified interval. <BR>SleepEx Suspends the current thread until the specified condition is met. <BR>SuspendThread Suspends the specified thread. <BR>SwitchToThread Causes the calling thread to yield execution to another thread that is ready to run on the current processor. <BR>TerminateThread Terminates a thread. <BR>ThreadProc An application-defined function that serves as the starting address for a thread. <BR>TlsAlloc Allocates a thread local storage (TLS) index. <BR>TlsFree Releases a TLS index. <BR>TlsGetValue Retrieves the value in the calling thread's TLS slot for a specified TLS index. <BR>TlsSetValue Stores a value in the calling thread's TLS slot for a specified TLS index. <BR>WaitForInputIdle Waits until the specified process is waiting for user input with no input pending, or until the time-out interval has elapsed. <BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:无非 回复日期:2002-11-17 23:05:49
<br>内容:楼上的,哪里找这么详细的啊?<BR><BR>
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:口木子 回复日期:2002-11-18 15:13:03
<br>内容: 谢谢啊,各位大哥!
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:John Lan 回复日期:2002-11-18 20:15:55
<br>内容:MSDN Platform SDK Base Service Dll and Process, Thread
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -