2013年5月20日
摘要: 一、POSIX中对可重入和线程安全这两个概念的定义:ReentrantFunction:Afunctionwhoseeffect,whencalledbytwoormorethreads,isguaranteedtobeasifthethreadseachexecutedthe functiononeafteranotherinanundefinedorder,evenif theactualexecutionisinterleaved.Thread-SafeFunction:Afunctionthatmaybesafelyinvokedconcurrentlybymultiplethread 阅读全文
posted @ 2013-05-20 19:16 yunfuby 阅读(850) 评论(0) 推荐(0) 编辑