原文太长,不粘贴了, 只留地址 http://www.ibm.com/developerworks/cn/linux/l-synch/part1/index.html http://www.ibm.com/developerworks/cn/linux/l-synch/part2/index.html