linux下pthread简单编程实例及gdb调试(core dumped)
最近在看 operating system ,看到pthread编程,就试了一下啊,挺简单的却出现了错误:程序如下:/*************************************************************#include #include int sum;/* this data is shared by the thread(s)*/
原创
2014-03-18 11:03:42 ·
2125 阅读 ·
1 评论