摘要:
一、POSIX中对可重入和线程安全这两个概念的定义:ReentrantFunction:Afunctionwhoseeffect,whencalledbytwoormorethreads,isguaranteedtobeasifthethreadseachexecutedthe functiononeafteranotherinanundefinedorder,evenif theactualexecutionisinterleaved.Thread-SafeFunction:Afunctionthatmaybesafelyinvokedconcurrentlybymultiplethread 阅读全文
posted @ 2013-05-20 19:16
yunfuby
阅读(926)
评论(0)
推荐(0)
浙公网安备 33010602011771号