单选题 10.  有如下C语言程序。
    void *th_f(void*arg)
    { printf("Ni Hao");
    pthread_join(2);}
    int main(void)
    { pthread_t tid;
    int at;
    at==pthread_create(&tid,NULL,th_f,NULL);
    if(at==0)
    printf("I can not create thread\n");
    exit(NULL);}
    针对以上程序,下列叙述中哪一个是正确的?______
【正确答案】 A
【答案解析】 pthread_create(&tid,NULL,th_f,NULL)语句的含意是创建线程后,运行该线程,th_f线程中调用了pthread_join(2)。因此,本题答案选择A选项。