pthread_create 函数 当一个程序由exec 启动时,会创建一个称为初始线程(initial thread)或主线程(main thread)的单个线程。其余线程则由pthread_create 函数创建。
基于12个网页-相关网页
称为初始线程
Called initial thread
以上为机器翻译结果,长、整句建议使用 人工翻译 。
这两者都体现了延迟初始化的特性(因此又被称为futures)。前者是一个类,而后者则是一个轻量的,但并非“绝对”线程安全的结构。
Both support the idea of deferred initialization, also known as futures, the former is a class and the later a lightweight and slightly less safe structure.
youdao
应用推荐
模块上移
模块下移
不移动