2012年8月22日

摘要: epoll简介epoll是Linux内核中的一种可扩展IO事件处理机制,最早在 Linux 2.5.44内核中引入,可被用于代替POSIX select 和 poll 系统调用,并且在具有大量应用程序请求时能够获得较好的性能( 此时被监视的文件描述符数目非常大,与旧的 select 和 poll 系统调用完成操作所需 O(n) 不同, epoll能在O(1)时间内完成操作,所以性能相当高),epoll 与 FreeBSD的kqueue类似,都向用户空间提供了自己的文件描述符来进行操作。int epoll_create(int size);创建一个epoll的句柄,size用来告诉内核需要监听的 阅读全文
posted @ 2012-08-22 22:54 王维_ICT 阅读(194) 评论(0) 推荐(0)
摘要: Hash 链接:[1]General Purpose Hash Function Algorithms:http://www.partow.net/programming/hashfunctions/[2]Hash function:http://en.wikipedia.org/wiki/Hash_function[3]Comparison of cryptographic hash functions:http://en.wikipedia.org/wiki/Comparison_of_cryptographic_hash_functions[4]Which hashing algorit 阅读全文
posted @ 2012-08-22 22:43 王维_ICT 阅读(157) 评论(0) 推荐(0)

导航