07 2012 档案

在VMware虚拟机上安装Ubuntu 10.04
摘要:http://www.linuxidc.com/Linux/2010-04/25829.htm 阅读全文

posted @ 2012-07-27 08:31 南瓜饼 阅读(261) 评论(0) 推荐(0) 编辑

linux下C语言多线程编程
摘要:#include <pthread.h>#include <stdio.h>#include <sys/time.h>#include <string.h>#define MAX 10pthread_t thread[2];pthread_mutex_t mut;int number=0, i;void *thread1(){ printf ("thread1 : I'm thread 1\n"); for (i = 0; i < MAX; i++) { printf("thread1 : number 阅读全文

posted @ 2012-07-25 20:46 南瓜饼 阅读(17702) 评论(2) 推荐(1) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示