cornsea

2010年4月11日 #

设计多线程安全库

摘要: 1. 为什么要多线程? 多线程可以提高系统的性能。更方便实现某些程序模型。2. posix中的一些线程安全函数如下 asctime_r, ctime_r, getgrgid_r,getgrnam_r, getpwnam_r,getpwuid_r, gmtime_r, localtime_r, rand_r, readdir_r, strtok_r3. 线程安全和可重入例程的特点线程安全例程是指这个... 阅读全文

posted @ 2010-04-11 23:23 cornsea 阅读(887) 评论(0) 推荐(0) 编辑

导航