单选题   有如下C语言程序。
    void *th_f(void *arg)
    { printf('Ni Hao');
    pthread_yiled(0);
    }
    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);}
    针对以上程序,pthread_yiled的意义是______。
 
【正确答案】 C
【答案解析】题目程序在main()函数中调用pthread_create()函数创建一个新线程,设置新线程的入口函数为th_f,所以新线程创建后执行th_f函数,在th_f函数中输出Ni Hao,接着调用pthread_yield()函数,pthread_yield()函数是用来释放CPU来运行另外一个线程。因此,本题答案选择C选项。