摘要: https://www.ibm.com/developerworks/cn/linux/thread/posix_threadapi/part4/http://www.cnblogs.com/xfiver/archive/2013/01/23/2873725.html线程终止方式一般来说,Posix... 阅读全文
posted @ 2014-07-31 16:50 穆穆兔兔 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 static void checkResults(char *string, int rc) { 7 if (rc) { 8 printf("Error on : %s,... 阅读全文
posted @ 2014-07-31 15:38 穆穆兔兔 阅读(576) 评论(0) 推荐(0) 编辑
摘要: -static 此选项将禁止使用动态库,所以,编译出来的东西,一般都很大,也不需要什么动态连接库,就可以运行.-share 此选项将尽量使用动态库,所以生成文件比较小,但是需要系统由动态库. 阅读全文
posted @ 2014-07-31 14:29 穆穆兔兔 阅读(341) 评论(0) 推荐(0) 编辑