在进 程启动的同时即同时为它启动了一个线程,该线程称作主线程或基本线程(primary thread)或执行线程 (thread of execution),此主线程负责执行在进程地址空间内的代码。此外,这个主线程也可继续创建子 线程。
基于12个网页-相关网页
primary thread ID 如何得到它的主线程ID
There is one primary thread associated with a user session, and there could be many more depending on how client's requests are being processed.
一个用户会话有一个相关联的主线程;根据处理客户机请求的方式不同,可能有许多其他线程。
Each process starts with a single thread, which is known as the primary thread.
每个进程启动时都具有一个线程,该线程称为主线程。
However, auxiliary threads can be created and used to execute code in parallel with the primary thread.
不过,可以创建辅助线程,以便与主线程一起并行执行代码。
应用推荐