多线程开发
下面代码执行函数testMyThread后输出结果是什么?
void *Mythread(void *args) { cout << "I am MyThread"<<endl; } void testMythread() { pthread_t thId; memset(&thId, 0, sizeof(thId)); if(0 == pthread_create(&thId, NULL, Mythread, NULL)) { cout << "create thread success "; } } A. create thread success B. I am MyThread C. create thread success I am MyThread D. 其他