Chinaunix首页 | 论坛 | 博客
  • 博客访问: 590312
  • 博文数量: 150
  • 博客积分: 1132
  • 博客等级: 少尉
  • 技术积分: 2067
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-11 16:46
文章分类

全部博文(150)

文章存档

2015年(15)

2014年(75)

2013年(4)

2012年(56)

发布时间:2014-11-27 16:00:26

......【阅读全文】

阅读(898) | 评论(0) | 转发(0)

发布时间:2014-11-25 22:55:19

在线程内部,私有数据可以被各个函数访问,但对其他线程是屏蔽的。一个明显的例子是errno,每个线程都有自己的副本,不然由于线程间的切换,在一个线程里输出的很可能是令一线程的出错信息。。......【阅读全文】

阅读(828) | 评论(0) | 转发(0)

发布时间:2014-11-24 23:07:42

#include #include int *pa = NULL;void * fn_thread1(void * c);int main(void){    pthread_t tid;    int err = 0;.........【阅读全文】

阅读(1238) | 评论(0) | 转发(0)

发布时间:2014-11-20 13:44:27

-s 选项:Snarf  snaplen bytes of data from each packet rather than the default of 68 (with SunOS's NIT, the minimum is actually 96).Setting snaplen to 0 means use the required length to catch whole packets.......【阅读全文】

阅读(1164) | 评论(0) | 转发(0)

发布时间:2014-11-20 13:35:03

一、制作补丁:diff -urP from-file to-fileIf  from-file  is  a directory and to-file is not, diff compares the file in from-file whose file name is that of to-file, and vice versa.If both from-file and to-file are directories, diff compares corresponding files in both director.........【阅读全文】

阅读(630) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册