柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
在Pthread线程包的使用中,当用户编程创建一个新的线程时,需要使用的线程库函数是
A.pthread_create()
B.pthread_exit()
C.pthread_yield()
D.pthread_join()
热度🔥257
参考答案:A
解析:
A【解析】pthread_create是类Unix操作系统(Unix、Linux、Mac OS X等)的创建线程的函数。故选择A选项。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
有以下程序: #include main() { int x=1, y=0; if (!x) y++; else if (x==0) if (x) y+=2; else y+=3; printf("%d\n", y); } 程序运行后的输出结果是( )。
有以下程序 #include int a=4; int f(int n) { int t = 0; static int a=5; if (n%2) {int a=6; t += a++; } else {int a=7; t += a++; } return t + a++; } main() { int s=a, i=0; for (; i<2;i++) s += f(i); printf("%d\n", s); } 程序运行后的输出结果是
下列关于集线器的描述中,正确的是()。
嵌入式Linux中,不属于Linux内核部分的功能是( )。
下面关于HDMI的叙述中,错误的是( )。
标签
四级嵌入式系统开发工程师
pthread
create
unix
函数