亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区
Chinaunix
標(biāo)題:
迷惑中,關(guān)于pthread
[打印本頁]
作者:
daviescai
時間:
2006-01-05 12:28
標(biāo)題:
迷惑中,關(guān)于pthread
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
void *thread_function(void *arg)
{
printf("[myshell]#");//在等待過程中沒有輸出
//
// printf("[myshell]#\n");//在等待過程中正常輸出
return NULL;
}
int main(void)
{
pthread_t mythread;
if ( pthread_create( &mythread, NULL, thread_function, NULL) )
{
printf("error creating thread.");
abort();
}
sleep(10);
exit(0);
}
不明白這個回車符怎會影響這么大,是什么原因?
作者:
mq110
時間:
2006-01-05 12:29
行緩沖。
作者:
gooderfeng
時間:
2006-01-05 12:42
對,看看關(guān)于流方面的東西;蛘咭恢睅n
作者:
daviescai
時間:
2006-01-05 12:48
謝謝
歡迎光臨 Chinaunix (http://72891.cn/)
Powered by Discuz! X3.2