单项选择题
有如下C语言程序
void * th_f(void * arg)
{
printf("Hello World");
pthread_exit(0);
}
int main(void)
{
pthread_t tid;
int st;
st=pthread_create(&tid, NULL, th_f, NULL);
if(st==0)
printf("Oops, I can not create thread\n");
exit(NULL):
}
针对上述程序,下列叙述中哪一个是正确的
A.程序运行中最多存在1个线程
B.程序运行中最多存在2个线程
C.程序运行中最多存在3个线程
D.程序运行中最多存在4个线程