[转]iOS 的多线程同步
我的上一家公司有个引以为豪的技术:多核无锁,不仅避免了各种由锁带来的问题,还极大的提高了性能,所以产品性能能够在业界数一数二。 在这样的氛围影响下,我在开发的时候也很少用锁,能不用就不用。 后来去面试 iOS 开发的时候,面试官总是喜欢问有关于锁的问题,最近趁有时间就整理了一下,算是补充一下技能树吧。
我的上一家公司有个引以为豪的技术:多核无锁,不仅避免了各种由锁带来的问题,还极大的提高了性能,所以产品性能能够在业界数一数二。 在这样的氛围影响下,我在开发的时候也很少用锁,能不用就不用。 后来去面试 iOS 开发的时候,面试官总是喜欢问有关于锁的问题,最近趁有时间就整理了一下,算是补充一下技能树吧。
高通6个葫芦娃-_,-
A couple of weeks ago at MWC, Qualcomm announced its Snapdragon 801 which was positioned as a speed bump for the next wave of flagship smartphones. Qualcomm touted a 2.5GHz CPU frequency (up from 2.3GHz with Snapdragon 800), as well as increased GPU, ISP and memory interface speeds. Samsung announced immediate support for the new Snapdragon 801 with the Galaxy S 5, as did Sony with the Xperia Z2. Unfortunately this is where confusion set in. The Galaxy S 5 was advertised as a Snapdragon 801 with a 2.5GHz CPU clock, while the Xperia Z2 claimed the same Snapdragon 801 branding but with a 2.3GHz CPU clock - the same frequency as a Snapdragon 800. If it's not CPU frequency that separates a Snapdragon 800 from an 801, what does? The answer, as it turns out, is a little more complex. The table below should help explain it all: