摘要:
原文出处:http://www.cnblogs.com/sharra/archive/2010/12/30/1921287.html 因为需要了解底层设备访问的原理,所以惯用高层应用语言的我,需要了解一下Linux的设备访问机制,尤其是处理一组非阻塞IO的原理方法,标准的术语好像是叫多路复用。以... 阅读全文
摘要:
OpenSSL can safely be used in multi-threaded applications provided that at least two callback functions are set, locking_function and threadid_func... 阅读全文
摘要:
注: 1)记得调用pthread_join让线程退出后能释放资源(如栈空间) 2)记得调用pthread_testcancel查看线程是否已经被终止,并释放资源 3)记得调用pthread_setcancelstate防止线程被意外终止运行 原文: Getting Started wit... 阅读全文