Chinaunix首页 | 论坛 | 博客
  • 博客访问: 253770
  • 博文数量: 60
  • 博客积分: 1222
  • 博客等级: 少尉
  • 技术积分: 585
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-16 17:28
个人简介

从学通信的博士到从事IT行业的工程师 从原华为项目经理,到现任职公司架构师

文章分类

全部博文(60)

文章存档

2013年(18)

2012年(42)

我的朋友

发布时间:2012-12-29 10:45:13

command + shift + 3......【阅读全文】

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

发布时间:2012-12-29 00:46:47

Interpreter is used to parse a language, just as compiler does!sometimes invoker of operation does not know who will process the request or how the request will be processed. Command encapsulate the requests as object. The invoker triggers the operation by calling execute method of local command ref......【阅读全文】

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

发布时间:2012-12-26 22:57:05

原文出处:http://www.cnblogs.com/sharra/archive/2010/12/30/1921287.html因为需要了解底层设备访问的原理,所以惯用高层应用语言的我,需要了解一下Linux的设备访问机制,尤其是处理一组非阻塞IO的原理方法,标准的术语好像是叫多路复用。以下文章部分句子有引用之处,恕没有一一指出出处。 对于接触过Linux内核或设备驱动开发的读者,一定清楚poll和select系统调用,以及从2.5版本引入的epoll机制(epoll机制包含三个系统调用)。网上关于它们的文章,有说用法的,甚为详细,更有分析源代码的,又比较深入,且枝节颇多。经过几......【阅读全文】

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

发布时间:2012-12-26 22:44:54

OpenSSL can safely be used in multi-threaded applications provided that at least two callback functions are set, locking_function and threadid_func.注:OpenSSL只有在至少提供两个回调函数的基础上才是线程安全的。多线程应用中如只有一个线程OpenSSL,是没问题的。原文:http://www.openssl.org/docs/crypto/threads.html......【阅读全文】

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

发布时间:2012-12-26 22:13:50

注:1)记得调用pthread_join让线程退出后能释放资源(如栈空间)2)记得调用pthread_testcancel查看线程是否已经被终止,并释放资源3)记得调用pthread_setcancelstate防止线程被意外终止运行原文:Getting Started with POSIX Threads......【阅读全文】

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

登录 注册